mirror of
https://github.com/curl/curl.git
synced 2026-04-15 01:01:41 +03:00
James Bursa made it compile on RISC OS as well.
This commit is contained in:
parent
f216059b49
commit
8f809e2a93
2 changed files with 4 additions and 2 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue