From: Theodore Tso Date: Tue, 23 Feb 1993 00:47:49 +0000 (+0000) Subject: Portability changes for unicos and sysvimp X-Git-Tag: krb5-1.0-beta3~334 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5b4ce48d69ab9e20eec7b6727c503652f72f6882;p=krb5.git Portability changes for unicos and sysvimp git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2495 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/ccache/file/fcc_maybe.c b/src/lib/krb5/ccache/file/fcc_maybe.c index 93e51f65d..8ecd82071 100644 --- a/src/lib/krb5/ccache/file/fcc_maybe.c +++ b/src/lib/krb5/ccache/file/fcc_maybe.c @@ -31,6 +31,7 @@ static char rcsid_fcc_maybe_c[] = #endif /* !lint & !SABER */ #include "fcc.h" +#include #include int krb5_fcc_default_format = KRB5_FCC_DEFAULT_FVNO; @@ -46,17 +47,20 @@ int krb5_fcc_default_format = KRB5_FCC_DEFAULT_FVNO; #include #ifdef POSIX_FILE_LOCKS -#include +#ifndef unicos61 #include +#endif /* unicos61 */ #define SHARED_LOCK F_RDLCK #define EXCLUSIVE_LOCK F_WRLCK #define UNLOCK_LOCK F_UNLCK -#else +#else /* !POSIX_FILE_LOCKS */ +#ifndef sysvimp #include +#endif /* sysvimp */ #define SHARED_LOCK LOCK_SH #define EXCLUSIVE_LOCK LOCK_EX #define UNLOCK_LOCK LOCK_UN -#endif +#endif /* POSIX_FILE_LOCKS */ #define LOCK_IT 0 #define UNLOCK_IT 1