config.h file for RISC OS compiles

This commit is contained in:
Daniel Stenberg 2001-08-08 06:05:06 +00:00
parent 410dd54da7
commit 0553ab8181
1 changed files with 25 additions and 0 deletions

25
config-riscos.h Normal file
View File

@ -0,0 +1,25 @@
#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"