optionally add sys/fcntl.h
authorMark Eichin <eichin@mit.edu>
Fri, 10 Jun 1994 19:21:48 +0000 (19:21 +0000)
committerMark Eichin <eichin@mit.edu>
Fri, 10 Jun 1994 19:21:48 +0000 (19:21 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3718 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/os/krbfileio.c

index 2828c6da48c8ab1c7744ee3d542b070ebc23091e..97ef043bbbbc06828643251b55d6bb97e6fb6be7 100644 (file)
@@ -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