Add test for unistd.h
authorTheodore Tso <tytso@mit.edu>
Fri, 7 Oct 1994 17:38:26 +0000 (17:38 +0000)
committerTheodore Tso <tytso@mit.edu>
Fri, 7 Oct 1994 17:38:26 +0000 (17:38 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4481 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/os/ChangeLog
src/lib/krb5/os/configure.in

index e6c36ad0a69a3f735e4a268351e8167ebd04e89b..76805b08ed503157505333d4f832d9f4ae6971b1 100644 (file)
@@ -1,5 +1,7 @@
 Fri Oct  7 13:23:18 1994  Theodore Y. Ts'o  (tytso@dcl)
 
+       * configure.in: Add test for unistd.h
+
        * lock_file.c: Use POSIX_FILE_LOCKS if _POSIX_VERSION is defined
                in unistd.h
 
index 6a40cbb118121e0d741c499567a14870b8c0c62c..704af2c21b8a501550d1c0b25a784202dfaa2af4 100644 (file)
@@ -5,7 +5,7 @@ AC_SET_BUILDTOP
 dnl time checks are for timeofday.c (which gets them from osconf.h)
 dnl and gmt_mktime.c (which only gets them from here...)
 AC_TIME_WITH_SYS_TIME
-AC_HAVE_HEADERS(sys/time.h)
+AC_HAVE_HEADERS(unistd.h sys/time.h)
 AC_HEADER_EGREP(time_t, sys/types.h, AC_DEFINE(POSIX_TYPES))
 SubdirLibraryRule([${OBJS}])
 KRB_INCLUDE