aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/if2ip.c4
-rw-r--r--lib/if2ip.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/if2ip.c b/lib/if2ip.c
index 249be7ce2..627422b94 100644
--- a/lib/if2ip.c
+++ b/lib/if2ip.c
@@ -32,8 +32,8 @@
#include <unistd.h>
#endif
-#if ! defined(WIN32) && ! defined(__BEOS__) && !defined(__CYGWIN32__) && \
- ! defined(__riscos__)
+#if !defined(WIN32) && !defined(__BEOS__) && !defined(__CYGWIN32__) && \
+ !defined(__riscos__) && !defined(__INTERIX)
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
diff --git a/lib/if2ip.h b/lib/if2ip.h
index 566d68ba8..239087d74 100644
--- a/lib/if2ip.h
+++ b/lib/if2ip.h
@@ -24,8 +24,8 @@
***************************************************************************/
#include "setup.h"
-#if ! defined(WIN32) && ! defined(__BEOS__) && !defined(__CYGWIN32__) && \
- ! defined(__riscos__)
+#if !defined(WIN32) && !defined(__BEOS__) && !defined(__CYGWIN32__) && \
+ !defined(__riscos__) !defined(__INTERIX)
extern char *Curl_if2ip(char *interface, char *buf, int buf_size);
#else
#define Curl_if2ip(a,b,c) NULL