From: Sam Hartman Date: Mon, 26 Jun 1995 19:31:57 +0000 (+0000) Subject: Changes to make sure all the right include files are included X-Git-Tag: krb5-1.0-beta6~1654 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6751aceefcd0b9fa3e182561f5c20df64e242d6f;p=krb5.git Changes to make sure all the right include files are included under AIX. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6160 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb4/ChangeLog b/src/lib/krb4/ChangeLog index 0c02aaa7d..195873cdc 100644 --- a/src/lib/krb4/ChangeLog +++ b/src/lib/krb4/ChangeLog @@ -1,3 +1,13 @@ +Mon Jun 26 14:58:02 1995 Sam Hartman + + * 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 diff --git a/src/lib/krb4/configure.in b/src/lib/krb4/configure.in index 6562a84ca..e2b382a26 100644 --- a/src/lib/krb4/configure.in +++ b/src/lib/krb4/configure.in @@ -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)) diff --git a/src/lib/krb4/klog.c b/src/lib/krb4/klog.c index 9a65ae9ef..f838fb785 100644 --- a/src/lib/krb4/klog.c +++ b/src/lib/krb4/klog.c @@ -9,7 +9,7 @@ */ #include "mit-copyright.h" -#ifdef NEED_TIME_H +#ifdef HAVE_TIME_H #include #endif #ifndef VMS diff --git a/src/lib/krb4/log.c b/src/lib/krb4/log.c index 7244a60b6..b41954491 100644 --- a/src/lib/krb4/log.c +++ b/src/lib/krb4/log.c @@ -15,7 +15,7 @@ #endif #include "mit-copyright.h" -#ifdef NEED_TIME_H +#ifdef HAVE_TIME_H #include #endif #ifndef VMS diff --git a/src/lib/krb4/send_to_kdc.c b/src/lib/krb4/send_to_kdc.c index c3219fb6c..97fdac780 100644 --- a/src/lib/krb4/send_to_kdc.c +++ b/src/lib/krb4/send_to_kdc.c @@ -15,6 +15,9 @@ #include "prot.h" #include #include +#ifdef HAVE_SYS_SELECT_H +#include +#endif #define S_AD_SZ sizeof(struct sockaddr_in)