Added #ifdef NEED_SYS_FCNTL_H around <sys/fcntl.h>
authorTheodore Tso <tytso@mit.edu>
Thu, 18 Aug 1994 23:08:56 +0000 (23:08 +0000)
committerTheodore Tso <tytso@mit.edu>
Thu, 18 Aug 1994 23:08:56 +0000 (23:08 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4198 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/popper/ChangeLog
src/appl/popper/configure.in
src/appl/popper/pop_xmit.c

index 49cb5913d145cccc78aa9407b9b7a9c313bae422..e3d9ba1a9ecbeb46c02c5ad85d476b06a160fcc3 100644 (file)
@@ -1,3 +1,8 @@
+Thu Aug 18 19:07:38 1994  Theodore Y. Ts'o  (tytso at tsx-11)
+
+       * configure.in:
+       * pop_xmit.c: Added #ifdef NEED_SYS_FCNTL_H around <sys/fcntl.h>
+
 Wed Aug 10 12:46:12 1994  Theodore Y. Ts'o  (tytso at tsx-11)
 
        * pop_dropcopy.c (pop_dropcopy): Change L_XTND to SEEK_END.
index 45ec8a0dedda30bd880b07a571ca1980d74f2277..9a6844d965fafdeb006feb27efd474244b6626f7 100644 (file)
@@ -11,6 +11,7 @@ AC_HAVE_LIBRARY(BSD)
 AC_HAVE_LIBRARY(ndbm)
 AC_HAVE_LIBRARY(dbm)
 CHECK_WAIT_TYPE
+CHECK_FCNTL
 
 AC_HEADER_CHECK(flock.h,[echo found flock.h for non-posix locks],
 AC_COMPILE_CHECK([POSIX file locking -- structs and flags],
index 65109f7775b875047241099e398935e55360e0d1..9f59f70806df87dc35dcaf03e3fbd0120fcf0a52 100644 (file)
@@ -13,7 +13,9 @@ static char copyright[] = "Copyright (c) 1990 Regents of the University of Calif
 #include <sys/types.h>
 #include <sys/file.h>
 #include <sys/wait.h>
+#ifdef NEED_SYS_FCNTL_H
 #include <sys/fcntl.h>
+#endif
 #ifdef HAS_PATHS_H
 #include <paths.h>
 #endif