mirror of
https://github.com/curl/curl.git
synced 2024-11-27 05:50:21 +08:00
26 lines
424 B
C
26 lines
424 B
C
|
|
||
|
#define socklen_t int
|
||
|
|
||
|
#define HAVE_SYS_SOCKET_H
|
||
|
#define HAVE_ARPA_INET_H
|
||
|
#define HAVE_SYS_SELECT_H
|
||
|
#define HAVE_FCNTL_H
|
||
|
#define HAVE_GETTIMEOFDAY
|
||
|
|
||
|
#define HAVE_SELECT
|
||
|
#define HAVE_SOCKET
|
||
|
#define ifr_dstaddr ifr_addr
|
||
|
|
||
|
|
||
|
#include <sys/socket.h>
|
||
|
#include <sys/if.h>
|
||
|
#include <sys/fcntl.h>
|
||
|
#include <sys/ioctl.h>
|
||
|
#include <netinet/in.h>
|
||
|
#include <netdb.h>
|
||
|
|
||
|
#define ioctl(a,b,c,d) (ioctl(a,b,c) * (d==d))
|
||
|
|
||
|
|
||
|
#define OS "RISC OS"
|