aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-08-08 06:05:06 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-08-08 06:05:06 +0000
commit0553ab8181cc375d871d63306ba8935989b8fde1 (patch)
tree26594c02a3f850cb2d089f740d6db105e04392dc
parent410dd54da77ce1c47092deab39fce20fdb831f5c (diff)
config.h file for RISC OS compiles
-rw-r--r--config-riscos.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/config-riscos.h b/config-riscos.h
new file mode 100644
index 000000000..a002d20c1
--- /dev/null
+++ b/config-riscos.h
@@ -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"