summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMark Eichin <eichin@mit.edu>1994-06-10 18:54:31 +0000
committerMark Eichin <eichin@mit.edu>1994-06-10 18:54:31 +0000
commitaedb1448df301da5a0e26a3341f1829d78c44993 (patch)
treeaa122980c7ef020e7d7af9e425c210be29d54556 /src/include
parentc857bca8711a65532f27c9a0b355b5188c219f2b (diff)
downloadkrb5-aedb1448df301da5a0e26a3341f1829d78c44993.tar.gz
krb5-aedb1448df301da5a0e26a3341f1829d78c44993.tar.xz
krb5-aedb1448df301da5a0e26a3341f1829d78c44993.zip
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
Diffstat (limited to 'src/include')
-rw-r--r--src/include/krb5/sysincl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/krb5/sysincl.h b/src/include/krb5/sysincl.h
index 3461152cca..9cab208a8d 100644
--- a/src/include/krb5/sysincl.h
+++ b/src/include/krb5/sysincl.h
@@ -48,6 +48,7 @@
#include <sys/file.h> /* 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 <fcntl.h>
#endif
+#ifdef NEED_SYS_FCNTL_H
+#include <sys/fcntl.h>
+#endif
#endif /* KRB5_SYSINCL__ */