Changes to make sure all the right include files are included
authorSam Hartman <hartmans@mit.edu>
Mon, 26 Jun 1995 19:31:57 +0000 (19:31 +0000)
committerSam Hartman <hartmans@mit.edu>
Mon, 26 Jun 1995 19:31:57 +0000 (19:31 +0000)
under AIX.

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

src/lib/krb4/ChangeLog
src/lib/krb4/configure.in
src/lib/krb4/klog.c
src/lib/krb4/log.c
src/lib/krb4/send_to_kdc.c

index 0c02aaa7d9572f9cecfb57004291b0de6b8e5d0d..195873cdc6fec9c314dea336d97183af8e6d398d 100644 (file)
@@ -1,3 +1,13 @@
+Mon Jun 26 14:58:02 1995  Sam Hartman  <hartmans@tardis.MIT.EDU>
+
+       * log.c: Use HAVE_TIME_H not NEED_TIME_H
+
+       * klog.c: Change NEED_TIME_H to HAVE_TIME_H
+
+       * configure.in: Check for sys/select.h.  Also check for time.h.
+
+       * send_to_kdc.c: If sys/select.h exists, include it.
+
 Fri Jun 23 18:15:07 1995  Tom Yu  (tlyu@dragons-lair)
 
        * configure.in: fix Sam's typo so libkrb4.a gets symlinked
index 6562a84cae6bdf44e89314ef280e62541b8943d4..e2b382a265111794bec41b7b9eae588be8fda49f 100644 (file)
@@ -8,6 +8,7 @@ AC_CONST
 CHECK_FCNTL
 KRB5_POSIX_LOCKS
 AC_HEADER_CHECK(unistd.h,AC_DEFINE(HAS_UNISTD_H))
+AC_CHECK_HEADERS(sys/select.h time.h)
 dnl Could check for full stdc environment, but will only test
 dnl for stdlib.h
 AC_HEADER_CHECK(stdlib.h,AC_DEFINE(HAS_STDLIB_H))
index 9a65ae9ef73d673b8eb586e3f0b469e6f3fdd829..f838fb7856c13757ec3ecd1c227a7a92d9f89210 100644 (file)
@@ -9,7 +9,7 @@
  */
 
 #include "mit-copyright.h"
-#ifdef NEED_TIME_H
+#ifdef HAVE_TIME_H
 #include <time.h>
 #endif
 #ifndef VMS
index 7244a60b652b668f25ec6a9dc47f5d4ed2f4eaad..b41954491a4fff5335b62062cff378361d1f11ef 100644 (file)
@@ -15,7 +15,7 @@
 #endif
 
 #include "mit-copyright.h"
-#ifdef NEED_TIME_H
+#ifdef HAVE_TIME_H
 #include <time.h>
 #endif
 #ifndef VMS
index c3219fb6c87687d9ce971760a5cb5b4a1be0765a..97fdac780b1b604fe4047c0c777fafd0b16ff51c 100644 (file)
@@ -15,6 +15,9 @@
 #include "prot.h"
 #include <stdio.h>
 #include <string.h>
+#ifdef HAVE_SYS_SELECT_H
+#include <sys/select.h>
+#endif
 
 #define S_AD_SZ sizeof(struct sockaddr_in)