summaryrefslogtreecommitdiffstats
path: root/src/kdc
diff options
context:
space:
mode:
authorSam Hartman <hartmans@mit.edu>1995-06-13 22:22:32 +0000
committerSam Hartman <hartmans@mit.edu>1995-06-13 22:22:32 +0000
commit4e6f225cbf841b1c26f59fd3beff36dc17a6f21c (patch)
treea1483c0b697c75a385fd7c55692b97353a638cc9 /src/kdc
parent6775bb268f215bcc3908626c4b54efc9986416ae (diff)
downloadkrb5-4e6f225cbf841b1c26f59fd3beff36dc17a6f21c.tar.gz
krb5-4e6f225cbf841b1c26f59fd3beff36dc17a6f21c.tar.xz
krb5-4e6f225cbf841b1c26f59fd3beff36dc17a6f21c.zip
Instead of special casing _AIX in network.c, look for
SYS_SELECT_H in configure.in and check this symbol to include sys/select.h in network.c. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6056 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/kdc')
-rw-r--r--src/kdc/ChangeLog7
-rw-r--r--src/kdc/configure.in1
-rw-r--r--src/kdc/network.c2
3 files changed, 9 insertions, 1 deletions
diff --git a/src/kdc/ChangeLog b/src/kdc/ChangeLog
index cfe9ef4fe..b23d1ac71 100644
--- a/src/kdc/ChangeLog
+++ b/src/kdc/ChangeLog
@@ -1,3 +1,10 @@
+Tue Jun 13 12:44:20 1995 Sam Hartman <hartmans@tardis.MIT.EDU>
+
+ * network.c: Base inclusion of sys/select.h on whether it exists
+ instead of a specific test for AIX.
+
+ * configure.in: Test for sys/select.h
+
Mon Jun 12 20:01:23 1995 Ezra Peisach <epeisach@kangaroo.mit.edu>
* kdc_util.c (kdc_process_tgs_req): Set the auth_context rcache to
diff --git a/src/kdc/configure.in b/src/kdc/configure.in
index 32f2d668e..154fd0ba6 100644
--- a/src/kdc/configure.in
+++ b/src/kdc/configure.in
@@ -4,6 +4,7 @@ AC_PROG_INSTALL
AC_CHECK_LIB(ndbm,main)
AC_CHECK_LIB(dbm,main)
AC_HEADER_CHECK(termios.h,AC_FUNC_CHECK([tcsetattr],AC_DEFINE(POSIX_TERMIOS)))
+AC_CHECK_HEADERS(sys/select.h)
ET_RULES
HAS_ANSI_VOLATILE
V5_AC_OUTPUT_MAKEFILE
diff --git a/src/kdc/network.c b/src/kdc/network.c
index f7bcec2ea..5b8b8b3e0 100644
--- a/src/kdc/network.c
+++ b/src/kdc/network.c
@@ -34,7 +34,7 @@
#include <netinet/in.h>
#include <sys/socket.h>
#include <sys/time.h>
-#if defined(_AIX) || defined(AIXArchitecture)
+#if HAVE_SYS_SELECT_H
#include <sys/select.h>
#endif
#include <arpa/inet.h>