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/file.c | |
parent | 9b033e1b8a9eb81ff9468faa0e4839187ecdc568 (diff) | |
download | curl-ea8fbb5233b24745177871a7e1e9105a137f94f9.tar.gz |
Added some #ifdefs around header files and change the EAGAIN test to
fix compilation on Cell (reported by Jeff Curley).
Diffstat (limited to 'lib/file.c')
-rw-r--r-- | lib/file.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/file.c b/lib/file.c index b0af2fcd9..d1302ab81 100644 --- a/lib/file.c +++ b/lib/file.c @@ -57,7 +57,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> |