utl_nohash_validate.c, util_canonhost.c, util_validate.c: Only include
authorTheodore Tso <tytso@mit.edu>
Wed, 28 Aug 1996 21:50:38 +0000 (21:50 +0000)
committerTheodore Tso <tytso@mit.edu>
Wed, 28 Aug 1996 21:50:38 +0000 (21:50 +0000)
sys/types.h if present.

configure.in: Add check for limits.h and sys/types.h

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8999 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/gssapi/generic/ChangeLog
src/lib/gssapi/generic/configure.in
src/lib/gssapi/generic/util_canonhost.c
src/lib/gssapi/generic/util_validate.c
src/lib/gssapi/generic/utl_nohash_validate.c

index 9d1e086b1a2b753b9929d1ac0f111cf300adb8fb..26d1f1d04f34ccb182fcf2892bfc838d3a8222ba 100644 (file)
@@ -1,3 +1,11 @@
+Wed Aug 28 17:44:06 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
+
+       * utl_nohash_validate.c: 
+       * util_canonhost.c:
+       * util_validate.c: Only include sys/types.h if present.
+
+       * configure.in: Add check for limits.h and sys/types.h
+
 Fri Aug  2 13:37:10 1996  Ezra Peisach  <epeisach@kangaroo.mit.edu>
 
        * gssapiP_generic.h: If not on a Mac or under Dos, and stdlib.h
index 5d435773ec4957b170d0e732b5400b1ee8f30ae4..035b05da3244addb2a1e5ce0bbbcd29b560b15f6 100644 (file)
@@ -4,7 +4,7 @@ AC_PROG_INSTALL
 AC_PROG_AWK
 V5_SHARED_LIB_OBJS
 SubdirLibraryRule([${OBJS}])
-AC_CHECK_HEADERS(stdlib.h)
+AC_CHECK_HEADERS(stdlib.h sys/types.h limits.h)
 AC_SIZE_T
 AC_CHECK_SIZEOF(short)
 AC_CHECK_SIZEOF(int)
index 900834f40d39b73237913cd05a587ca66ab80e4c..829311db9d61bfbbb1f00483459e0c9569a9d7a5 100644 (file)
@@ -30,7 +30,7 @@
 
 #include "port-sockets.h"
 
-#ifndef _MACINTOSH
+#ifdef HAVE_SYS_TYPES_H
 #include <sys/types.h>
 #endif
 #include <ctype.h>
index 179968056ec1563eb249c998effdd241dd101f8f..3cb34fb975208a7b1ec7a56ad392112799c1b8bc 100644 (file)
@@ -30,7 +30,9 @@
 
 #include "gssapiP_generic.h"
 
+#ifdef HAVE_SYS_TYPES_H
 #include <sys/types.h>
+#endif
 #include <fcntl.h>
 #include <limits.h>
 #ifdef HAVE_BSD_DB
index 4cd94cafd45e21a03a2d4c256479769fd37b4fd1..ecd2c13543141bdf377269a6b403a4183f4340fc 100644 (file)
 
 #include "gssapiP_generic.h"
 
-#ifndef _MACINTOSH
+#ifdef HAVE_SYS_TYPES_H
 #include <sys/types.h>
+#endif
+#ifdef HAVE_LIMITS_H
 #include <limits.h>
 #endif