]> granicus.if.org Git - curl/commitdiff
James Bursa made it compile on RISC OS as well.
authorDaniel Stenberg <daniel@haxx.se>
Fri, 28 Feb 2003 13:11:10 +0000 (13:11 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 28 Feb 2003 13:11:10 +0000 (13:11 +0000)
lib/if2ip.c
lib/if2ip.h

index 5975a3ad2408f3d6af9eb872205ce9c638f7fe51..988e5924a3b90aeb0d5806a075d8de55069841d3 100644 (file)
@@ -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>
index fdcb60b481518e7a5ada7c257fa14b698777ec31..34f9a5111a395cc3e04074dd806be42396fd4147 100644 (file)
@@ -24,7 +24,8 @@
  ***************************************************************************/
 #include "setup.h"
 
-#if ! defined(WIN32) && ! defined(__BEOS__) && !defined(__CYGWIN32__)
+#if ! defined(WIN32) && ! defined(__BEOS__) && !defined(__CYGWIN32__) && \
+    ! defined(__riscos__)
 extern char *Curl_if2ip(char *interface, char *buf, int buf_size);
 #else
 #define Curl_if2ip(a,b,c) NULL