mirror of https://github.com/moparisthebest/curl
James Bursa made it compile on RISC OS as well.
This commit is contained in:
parent
f216059b49
commit
8f809e2a93
|
@ -32,7 +32,8 @@
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ! defined(WIN32) && ! defined(__BEOS__) && !defined(__CYGWIN32__)
|
#if ! defined(WIN32) && ! defined(__BEOS__) && !defined(__CYGWIN32__) && \
|
||||||
|
! defined(__riscos__)
|
||||||
|
|
||||||
#ifdef HAVE_SYS_SOCKET_H
|
#ifdef HAVE_SYS_SOCKET_H
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
|
|
|
@ -24,7 +24,8 @@
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
#include "setup.h"
|
#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);
|
extern char *Curl_if2ip(char *interface, char *buf, int buf_size);
|
||||||
#else
|
#else
|
||||||
#define Curl_if2ip(a,b,c) NULL
|
#define Curl_if2ip(a,b,c) NULL
|
||||||
|
|
Loading…
Reference in New Issue