summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/krb5/sysincl.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/include/krb5/sysincl.h b/src/include/krb5/sysincl.h
index b53bd3672..622964aac 100644
--- a/src/include/krb5/sysincl.h
+++ b/src/include/krb5/sysincl.h
@@ -28,5 +28,15 @@
#include <sys/file.h> /* prototypes for file-related
syscalls; flags for open &
friends */
+#ifdef SYSV
+#include <sys/fcntl.h>
+#endif
+
+#ifndef L_SET
+#define L_SET 0 /* absolute offset */
+#define L_INCR 1 /* relative to current offset */
+#define L_XTND 2 /* relative to end of file */
+#endif /* L_SET */
+
#endif
#endif /* KRB5_SYSINCL__ */