Always include <fcntl.h> instead of checking for <sys/fcntl.h>
authorRichard Basch <probe@mit.edu>
Thu, 4 Jan 1996 05:50:07 +0000 (05:50 +0000)
committerRichard Basch <probe@mit.edu>
Thu, 4 Jan 1996 05:50:07 +0000 (05:50 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7271 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/os/krbfileio.c
src/slave/kprop.c

index cd2a5116dba4cede359ad14b62c2441a5b24932c..0273f024afdaf964bbb112b8de2097e8e5fca15f 100644 (file)
@@ -39,9 +39,7 @@ static char *VersionID = "@(#)krbfileio.c     2 - 08/22/91";
 #ifdef HAVE_SYS_FILE_H
 #include <sys/file.h>
 #endif
-#ifdef NEED_SYS_FCNTL_H
-#include <sys/fcntl.h>
-#endif
+#include <fcntl.h>
 
 #ifndef O_BINARY
 #define O_BINARY 0
index 8a4618fdca44b2d260e37b918c585f7a4e1fd41e..0243b8d33a18ad64d6fb7824fe96b922efe720a6 100644 (file)
 #include <netinet/in.h>
 #include <sys/param.h>
 #include <netdb.h>
+#include <fcntl.h>
 
 #include "k5-int.h"
 #include "com_err.h"
-
-#ifdef NEED_SYS_FCNTL_H
-#include <sys/fcntl.h>
-#endif
-
 #include "kprop.h"
 
 static char *kprop_version = KPROP_PROT_VERSION;