]> granicus.if.org Git - curl/commitdiff
config.h file for RISC OS compiles
authorDaniel Stenberg <daniel@haxx.se>
Wed, 8 Aug 2001 06:05:06 +0000 (06:05 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 8 Aug 2001 06:05:06 +0000 (06:05 +0000)
config-riscos.h [new file with mode: 0644]

diff --git a/config-riscos.h b/config-riscos.h
new file mode 100644 (file)
index 0000000..a002d20
--- /dev/null
@@ -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"