From: Mark Eichin Date: Fri, 10 Jun 1994 18:54:31 +0000 (+0000) Subject: use SEEK_* not L_*; check NEED_SYS_FCNTL_H as well X-Git-Tag: krb5-1.0-beta4~143 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=aedb1448df301da5a0e26a3341f1829d78c44993;p=krb5.git use SEEK_* not L_*; check NEED_SYS_FCNTL_H as well git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3710 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/krb5/sysincl.h b/src/include/krb5/sysincl.h index 3461152cc..9cab208a8 100644 --- a/src/include/krb5/sysincl.h +++ b/src/include/krb5/sysincl.h @@ -48,6 +48,7 @@ #include /* prototypes for file-related syscalls; flags for open & friends */ +/* this doesn't work under solaris. Use SEEK_* instead anyway... */ #ifndef L_SET #define L_SET 0 /* absolute offset */ #define L_INCR 1 /* relative to current offset */ @@ -66,5 +67,8 @@ #if defined(SYSV) || defined(_AIX) #include #endif +#ifdef NEED_SYS_FCNTL_H +#include +#endif #endif /* KRB5_SYSINCL__ */