Include sys/select.h for AIX
authorSam Hartman <hartmans@mit.edu>
Thu, 18 Jan 1996 20:51:23 +0000 (20:51 +0000)
committerSam Hartman <hartmans@mit.edu>
Thu, 18 Jan 1996 20:51:23 +0000 (20:51 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7333 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/gssftp/ftp/ChangeLog
src/appl/gssftp/ftp/configure.in
src/appl/gssftp/ftp/ftp.c

index f1ff4ffe81ba5484710c18e20a7f12bcc69ac2d4..115610437cc4da4d8b4b806fac0ef27ae8f5fbed 100644 (file)
@@ -1,3 +1,9 @@
+Thu Jan 18 11:55:50 1996  Sam Hartman  <hartmans@tertius.mit.edu>
+
+       * configure.in: Check for sys/select.h
+
+       * ftp.c: Include sys/select.h if present.
+
 Sun Jan 14 01:54:35 1996  Bill Schoofs <wjs@cray.com>
 
        * Makefile.in (DEFINES): define NOCONFIDENTIAL for future use.
index a03170bc9d94867b571014c760a5f94b78c5b002..d50f5ab9a421cb0645c9e6dd1339eb26f0554912 100644 (file)
@@ -7,6 +7,7 @@ CHECK_SIGPROCMASK
 CHECK_WAIT_TYPE
 AC_FUNC_VFORK
 AC_HAVE_FUNCS(getcwd getdtablesize)
+AC_CHECK_HEADERS(sys/select.h)
 AC_HEADER_CHECK(termios.h,AC_FUNC_CHECK(cfsetispeed,AC_DEFINE(POSIX_TERMIOS)))
 V5_USE_SHARED_LIB
 V5_AC_OUTPUT_MAKEFILE
index 6f778aba92a6ec1616005ec62b9940195290652b..0e8a1a9f866ae50b07b63bd6b71afdc91aca73fd 100644 (file)
@@ -41,6 +41,9 @@ static char sccsid[] = "@(#)ftp.c     5.38 (Berkeley) 4/22/91";
 #include <sys/socket.h>
 #include <sys/time.h>
 #include <sys/file.h>
+#ifdef HAVE_SYS_SELECT_H
+#include <sys/select.h>
+#endif
 
 #include <netinet/in.h>
 #include <netinet/in_systm.h>