Aros fixes
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Wed, 29 May 2013 05:41:54 +0000 (22:41 -0700)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Wed, 29 May 2013 05:41:54 +0000 (22:41 -0700)
aros/aros_compat.h
lib/libnfs-zdr.c

index f06974b98c83de02f752de18beddb1fe7b949893..76de2ac948f724daefc71df716b7a905d754b407 100644 (file)
@@ -10,6 +10,7 @@
 #include <proto/exec.h>
 #include <netdb.h>
 #include <net/if.h>
+#include <netinet/in.h>
 
 #define statvfs statfs
 #define ioctl IoctlSocket
@@ -38,6 +39,11 @@ void aros_init_socket(void);
 #define POLLHUP     0x0010    /* Hung up */
 #define POLLNVAL    0x0020    /* Invalid request: fd not open */
 
+struct utimbuf {
+       int actime;
+       int modtime;
+};
+
 struct pollfd {
     int fd;           /* file descriptor */
     short events;     /* requested events */
index 898a95acae22114e83aa85cc92520a99894781a1..5d98706dd79c4533634272ee46681608d2db5568 100644 (file)
 #include "win32_compat.h"
 #endif
 
+#ifdef AROS
+#include "aros_compat.h"
+#endif
+
 #include <stdlib.h>
 #include <string.h>
 #include <time.h>