aboutsummaryrefslogtreecommitdiff
path: root/lib/if2ip.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/if2ip.h')
-rw-r--r--lib/if2ip.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/if2ip.h b/lib/if2ip.h
index 4364b09d1..4e86e2b27 100644
--- a/lib/if2ip.h
+++ b/lib/if2ip.h
@@ -27,6 +27,8 @@
extern char *Curl_if2ip(const char *interf, char *buf, int buf_size);
#ifdef __INTERIX
+#include <sys/socket.h>
+
/* Nedelcho Stanev's work-around for SFU 3.0 */
struct ifreq {
#define IFNAMSIZ 16