summaryrefslogtreecommitdiff
path: root/lib/dict.c
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2008-11-14 23:17:32 +0000
committerDan Fandrich <dan@coneharvesters.com>2008-11-14 23:17:32 +0000
commitea8fbb5233b24745177871a7e1e9105a137f94f9 (patch)
treea963f9776eec8eb2aa8f28638992bab9c05ad8c4 /lib/dict.c
parent9b033e1b8a9eb81ff9468faa0e4839187ecdc568 (diff)
downloadcurl-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/dict.c')
-rw-r--r--lib/dict.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/dict.c b/lib/dict.c
index 6bd75f6dc..7fadfe892 100644
--- a/lib/dict.c
+++ b/lib/dict.c
@@ -53,7 +53,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>