aboutsummaryrefslogtreecommitdiff
path: root/lib/if2ip.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/if2ip.c')
-rw-r--r--lib/if2ip.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/if2ip.c b/lib/if2ip.c
index 5975a3ad2..988e5924a 100644
--- a/lib/if2ip.c
+++ b/lib/if2ip.c
@@ -32,7 +32,8 @@
#include <unistd.h>
#endif
-#if ! defined(WIN32) && ! defined(__BEOS__) && !defined(__CYGWIN32__)
+#if ! defined(WIN32) && ! defined(__BEOS__) && !defined(__CYGWIN32__) && \
+ ! defined(__riscos__)
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>