sys/select.h
authorMark Eichin <eichin@mit.edu>
Wed, 17 Aug 1994 02:45:40 +0000 (02:45 +0000)
committerMark Eichin <eichin@mit.edu>
Wed, 17 Aug 1994 02:45:40 +0000 (02:45 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4169 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/telnet/telnet/configure.in
src/appl/telnet/telnet/network.c
src/appl/telnet/telnet/sys_bsd.c

index 037ab6db1950d6da32d2ad1ab0587b972021f148..c528b8dbe8cd7b658070e688240ffc66ad449604 100644 (file)
@@ -9,7 +9,7 @@ AC_PROG_INSTALL
 AC_VFORK
 KRB_INCLUDE
 ISODE_INCLUDE
-AC_HAVE_HEADERS(unistd.h)
+AC_HAVE_HEADERS(unistd.h sys/select.h)
 AC_HAVE_LIBRARY(termcap,AC_DEFINE(TERMCAP)
 LIBS="$LIBS -ltermcap")
 AC_HEADER_CHECK(termios.h,AC_DEFINE(USE_TERMIO) ac_termio=1)
index 3aa7ea76bfaf8391619553aec6a5608abdd06953..c71b63dd5ec86c6f9515e6b84afea9ee25238b2e 100644 (file)
@@ -39,6 +39,10 @@ static char sccsid[] = "@(#)network.c        8.1 (Berkeley) 6/6/93";
 #include <sys/socket.h>
 #include <sys/time.h>
 
+#ifdef HAVE_SYS_SELECT_H
+#include <sys/select.h>
+#endif
+
 #include <errno.h>
 
 #include <arpa/telnet.h>
index 0c6973ee8a7d4e710c92ef307f9824437f9786ed..26d1d74e72b884aaef64c109a37de79b7344ec7a 100644 (file)
@@ -45,6 +45,9 @@ static char sccsid[] = "@(#)sys_bsd.c 8.1 (Berkeley) 6/6/93";
 #include <sys/types.h>
 #include <sys/time.h>
 #include <sys/socket.h>
+#ifdef HAVE_SYS_SELECT_H
+#include <sys/select.h>
+#endif
 #include <signal.h>
 #include <errno.h>
 #include <arpa/telnet.h>