From: Ezra Peisach Date: Sun, 21 May 1995 20:27:29 +0000 (+0000) Subject: Handle problem of O_SYNC not existing on a platform. (for netbsd) X-Git-Tag: krb5-1.0-beta6~1963 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2f209ad9e859b5be9466e8a2406bad9561fe8597;p=krb5.git Handle problem of O_SYNC not existing on a platform. (for netbsd) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5834 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb4/ChangeLog b/src/lib/krb4/ChangeLog index e83a3f125..aaef9fd11 100644 --- a/src/lib/krb4/ChangeLog +++ b/src/lib/krb4/ChangeLog @@ -1,3 +1,9 @@ +Sun May 21 16:06:20 1995 Ezra Peisach + + * dest_tkt.c: If O_SYNC is not defined, define as 0. + + * in_tkt.c: If O_SYNC is not defined, define as 0. + Thu May 18 14:43:51 1995 Ezra Peisach * in_tkt.c: Use HAVE_SETREUID and HAVE_SETRESUID to define diff --git a/src/lib/krb4/dest_tkt.c b/src/lib/krb4/dest_tkt.c index 1358322ed..67ecdbb5e 100644 --- a/src/lib/krb4/dest_tkt.c +++ b/src/lib/krb4/dest_tkt.c @@ -22,6 +22,10 @@ #include #endif +#ifndef O_SYNC +#define O_SYNC 0 +#endif + /* * dest_tkt() is used to destroy the ticket store upon logout. * If the ticket file does not exist, dest_tkt() returns RET_TKFIL. diff --git a/src/lib/krb4/in_tkt.c b/src/lib/krb4/in_tkt.c index 419089c68..98ab1634c 100644 --- a/src/lib/krb4/in_tkt.c +++ b/src/lib/krb4/in_tkt.c @@ -41,6 +41,10 @@ extern int krb_debug; #endif #endif +#ifndef O_SYNC +#define O_SYNC 0 +#endif + in_tkt(pname,pinst) char *pname; char *pinst;