diff options
author | Mark Eichin <eichin@mit.edu> | 1994-08-17 02:45:40 +0000 |
---|---|---|
committer | Mark Eichin <eichin@mit.edu> | 1994-08-17 02:45:40 +0000 |
commit | c378f60c4ad09432d37e5b8f49acf03b7b00b424 (patch) | |
tree | edd83a3dd4fbc64abc11691df2c1d590e4bdbaf6 /src/appl/telnet | |
parent | 82119f2a172034f404dcfa42132dcc167e077a81 (diff) | |
download | krb5-c378f60c4ad09432d37e5b8f49acf03b7b00b424.tar.gz krb5-c378f60c4ad09432d37e5b8f49acf03b7b00b424.tar.xz krb5-c378f60c4ad09432d37e5b8f49acf03b7b00b424.zip |
sys/select.h
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4169 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/appl/telnet')
-rw-r--r-- | src/appl/telnet/telnet/configure.in | 2 | ||||
-rw-r--r-- | src/appl/telnet/telnet/network.c | 4 | ||||
-rw-r--r-- | src/appl/telnet/telnet/sys_bsd.c | 3 |
3 files changed, 8 insertions, 1 deletions
diff --git a/src/appl/telnet/telnet/configure.in b/src/appl/telnet/telnet/configure.in index 037ab6db19..c528b8dbe8 100644 --- a/src/appl/telnet/telnet/configure.in +++ b/src/appl/telnet/telnet/configure.in @@ -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) diff --git a/src/appl/telnet/telnet/network.c b/src/appl/telnet/telnet/network.c index 3aa7ea76bf..c71b63dd5e 100644 --- a/src/appl/telnet/telnet/network.c +++ b/src/appl/telnet/telnet/network.c @@ -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> diff --git a/src/appl/telnet/telnet/sys_bsd.c b/src/appl/telnet/telnet/sys_bsd.c index 0c6973ee8a..26d1d74e72 100644 --- a/src/appl/telnet/telnet/sys_bsd.c +++ b/src/appl/telnet/telnet/sys_bsd.c @@ -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> |