projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c857bca
)
use SEEK_* not L_*; check NEED_SYS_FCNTL_H as well
author
Mark Eichin
<eichin@mit.edu>
Fri, 10 Jun 1994 18:54:31 +0000
(18:54 +0000)
committer
Mark Eichin
<eichin@mit.edu>
Fri, 10 Jun 1994 18:54:31 +0000
(18:54 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3710
dc483132
-0cff-0310-8789-
dd5450dbe970
src/include/krb5/sysincl.h
patch
|
blob
|
history
diff --git
a/src/include/krb5/sysincl.h
b/src/include/krb5/sysincl.h
index 3461152cca4fe9dc8d71604db9e685b760f07db9..9cab208a8d27401e16d1a10557365559cfa4fdc3 100644
(file)
--- 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__ */