From: Ronnie Sahlberg Date: Wed, 29 May 2013 05:41:54 +0000 (-0700) Subject: Aros fixes X-Git-Tag: upstream/1.9.6^2~195 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=0556ee05e1a1c5acb638d79a9ecffd04296ed84f;p=deb_libnfs.git Aros fixes --- diff --git a/aros/aros_compat.h b/aros/aros_compat.h index f06974b..76de2ac 100644 --- a/aros/aros_compat.h +++ b/aros/aros_compat.h @@ -10,6 +10,7 @@ #include #include #include +#include #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 */ diff --git a/lib/libnfs-zdr.c b/lib/libnfs-zdr.c index 898a95a..5d98706 100644 --- a/lib/libnfs-zdr.c +++ b/lib/libnfs-zdr.c @@ -24,6 +24,10 @@ #include "win32_compat.h" #endif +#ifdef AROS +#include "aros_compat.h" +#endif + #include #include #include