summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 3461152cc..9cab208a8 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__ */