summaryrefslogtreecommitdiffstats
path: root/src/lib/krb5/os/krbfileio.c
diff options
context:
space:
mode:
authorMark Eichin <eichin@mit.edu>1994-06-10 19:21:48 +0000
committerMark Eichin <eichin@mit.edu>1994-06-10 19:21:48 +0000
commit5717b4008f639bd5910efdedb35bea91eeab907e (patch)
tree8740039dc0b51eafee310d8b5f6fdd051d6766d0 /src/lib/krb5/os/krbfileio.c
parent7df9ddf79fc95ad70aba5bed1fa870c533f84a50 (diff)
downloadkrb5-5717b4008f639bd5910efdedb35bea91eeab907e.tar.gz
krb5-5717b4008f639bd5910efdedb35bea91eeab907e.tar.xz
krb5-5717b4008f639bd5910efdedb35bea91eeab907e.zip
optionally add sys/fcntl.h
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3718 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5/os/krbfileio.c')
-rw-r--r--src/lib/krb5/os/krbfileio.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/krb5/os/krbfileio.c b/src/lib/krb5/os/krbfileio.c
index 2828c6da48..97ef043bbb 100644
--- a/src/lib/krb5/os/krbfileio.c
+++ b/src/lib/krb5/os/krbfileio.c
@@ -43,6 +43,9 @@ static char *VersionID = "@(#)krbfileio.c 2 - 08/22/91";
#include <sys/types.h>
#include <krb5/ext-proto.h>
+#ifdef NEED_SYS_FCNTL_H
+#include <sys/fcntl.h>
+#endif
#ifdef apollo
# define OPEN_MODE_NOT_TRUSTWORTHY