From 8d9655089bd8bbce4c18058ac00851c4a31fbd41 Mon Sep 17 00:00:00 2001 From: Sam Hartman Date: Thu, 18 Jan 1996 20:51:23 +0000 Subject: [PATCH] Include sys/select.h for AIX git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7333 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/gssftp/ftp/ChangeLog | 6 ++++++ src/appl/gssftp/ftp/configure.in | 1 + src/appl/gssftp/ftp/ftp.c | 3 +++ 3 files changed, 10 insertions(+) diff --git a/src/appl/gssftp/ftp/ChangeLog b/src/appl/gssftp/ftp/ChangeLog index f1ff4ffe8..115610437 100644 --- a/src/appl/gssftp/ftp/ChangeLog +++ b/src/appl/gssftp/ftp/ChangeLog @@ -1,3 +1,9 @@ +Thu Jan 18 11:55:50 1996 Sam Hartman + + * configure.in: Check for sys/select.h + + * ftp.c: Include sys/select.h if present. + Sun Jan 14 01:54:35 1996 Bill Schoofs * Makefile.in (DEFINES): define NOCONFIDENTIAL for future use. diff --git a/src/appl/gssftp/ftp/configure.in b/src/appl/gssftp/ftp/configure.in index a03170bc9..d50f5ab9a 100644 --- a/src/appl/gssftp/ftp/configure.in +++ b/src/appl/gssftp/ftp/configure.in @@ -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 diff --git a/src/appl/gssftp/ftp/ftp.c b/src/appl/gssftp/ftp/ftp.c index 6f778aba9..0e8a1a9f8 100644 --- a/src/appl/gssftp/ftp/ftp.c +++ b/src/appl/gssftp/ftp/ftp.c @@ -41,6 +41,9 @@ static char sccsid[] = "@(#)ftp.c 5.38 (Berkeley) 4/22/91"; #include #include #include +#ifdef HAVE_SYS_SELECT_H +#include +#endif #include #include -- 2.26.2