From 4e6f225cbf841b1c26f59fd3beff36dc17a6f21c Mon Sep 17 00:00:00 2001 From: Sam Hartman Date: Tue, 13 Jun 1995 22:22:32 +0000 Subject: [PATCH] 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 --- src/kdc/ChangeLog | 7 +++++++ src/kdc/configure.in | 1 + src/kdc/network.c | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) 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 + + * 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 * 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 #include #include -#if defined(_AIX) || defined(AIXArchitecture) +#if HAVE_SYS_SELECT_H #include #endif #include -- 2.26.2