diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-02-02 14:49:54 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-02-02 14:49:54 +0000 |
commit | b84eaff1d57754e9d154fa7fc7bf941c9e430a31 (patch) | |
tree | 09bfd8de2f9df53e92736d5f5ea5151d4f0d3cd9 /lib/if2ip.c | |
parent | 9eb6fc1fb6442644d7284a6d095f5bb9f0296840 (diff) | |
download | curl-b84eaff1d57754e9d154fa7fc7bf941c9e430a31.tar.gz |
set the 'retry' bit to TRUE when the connection is about to be retried,
this allows the HTTP code to *not* return a failure just because no data
has been received from the server
Diffstat (limited to 'lib/if2ip.c')
-rw-r--r-- | lib/if2ip.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/if2ip.c b/lib/if2ip.c index 0dd403ac9..299be75dd 100644 --- a/lib/if2ip.c +++ b/lib/if2ip.c @@ -51,7 +51,9 @@ #ifdef HAVE_NET_IF_H #include <net/if.h> #endif +#ifdef HAVE_SYS_IOCTL_H #include <sys/ioctl.h> +#endif /* -- if2ip() -- */ #ifdef HAVE_NETDB_H |