diff options
-rw-r--r-- | lib/if2ip.c | 3 | ||||
-rw-r--r-- | lib/if2ip.h | 3 |
2 files changed, 4 insertions, 2 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> diff --git a/lib/if2ip.h b/lib/if2ip.h index fdcb60b48..34f9a5111 100644 --- a/lib/if2ip.h +++ b/lib/if2ip.h @@ -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 |