diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2008-11-14 23:17:32 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2008-11-14 23:17:32 +0000 |
commit | ea8fbb5233b24745177871a7e1e9105a137f94f9 (patch) | |
tree | a963f9776eec8eb2aa8f28638992bab9c05ad8c4 /lib/telnet.c | |
parent | 9b033e1b8a9eb81ff9468faa0e4839187ecdc568 (diff) |
Added some #ifdefs around header files and change the EAGAIN test to
fix compilation on Cell (reported by Jeff Curley).
Diffstat (limited to 'lib/telnet.c')
-rw-r--r-- | lib/telnet.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/telnet.c b/lib/telnet.c index 4d405b621..d9c5f07b7 100644 --- a/lib/telnet.c +++ b/lib/telnet.c @@ -52,7 +52,9 @@ #ifdef HAVE_NET_IF_H #include <net/if.h> #endif +#ifdef HAVE_SYS_IOCTL_H #include <sys/ioctl.h> +#endif #ifdef HAVE_SYS_PARAM_H #include <sys/param.h> |