From dcf9114329fdd267aa822d5ea2c30667ae7232a3 Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Mon, 2 Aug 1999 19:59:04 +0000 Subject: [PATCH] AIX needs this include... --- configure.in.in | 2 +- ext/standard/fsock.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.in.in b/configure.in.in index 8b3272b1a6a..8e1086c4cc4 100644 --- a/configure.in.in +++ b/configure.in.in @@ -251,7 +251,7 @@ else fi AC_MISSING_FCLOSE_DECL dnl QNX requires unix.h to allow functions in libunix to work properly -AC_CHECK_HEADERS(fcntl.h unistd.h crypt.h sys/file.h memory.h pwd.h grp.h sys/socket.h sys/wait.h syslog.h string.h sys/varargs.h stdarg.h sys/time.h signal.h netinet/in.h dlfcn.h limits.h sys/types.h unix.h arpa/inet.h locale.h) +AC_CHECK_HEADERS(fcntl.h unistd.h crypt.h sys/file.h memory.h pwd.h grp.h sys/socket.h sys/wait.h syslog.h string.h sys/varargs.h stdarg.h sys/time.h signal.h netinet/in.h dlfcn.h limits.h sys/types.h unix.h arpa/inet.h locale.h sys/select.h) dnl Checks for typedefs, structures, and compiler characteristics. AC_STRUCT_TM diff --git a/ext/standard/fsock.c b/ext/standard/fsock.c index 05401f5f344..c23ae5eef98 100644 --- a/ext/standard/fsock.c +++ b/ext/standard/fsock.c @@ -55,6 +55,9 @@ #if defined(AF_UNIX) #include #endif +#ifdef HAVE_SYS_SELECT_H +#include +#endif #include #include