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
+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
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)
#include "port-sockets.h"
-#ifndef _MACINTOSH
+#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include <ctype.h>
#include "gssapiP_generic.h"
+#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
+#endif
#include <fcntl.h>
#include <limits.h>
#ifdef HAVE_BSD_DB
#include "gssapiP_generic.h"
-#ifndef _MACINTOSH
+#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
+#endif
+#ifdef HAVE_LIMITS_H
#include <limits.h>
#endif