From: Ronnie Sahlberg Date: Wed, 29 May 2013 05:13:08 +0000 (-0700) Subject: AROS fixes X-Git-Tag: upstream/1.9.6^2~196 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=265276038ac3553b03bba82ab669735a072ef6a4;p=deb_libnfs.git AROS fixes --- diff --git a/aros/aros_compat.h b/aros/aros_compat.h index e882967..f06974b 100644 --- a/aros/aros_compat.h +++ b/aros/aros_compat.h @@ -8,6 +8,8 @@ #include #include #include +#include +#include #define statvfs statfs #define ioctl IoctlSocket diff --git a/lib/libnfs.c b/lib/libnfs.c index c322c37..2915c9a 100644 --- a/lib/libnfs.c +++ b/lib/libnfs.c @@ -2868,6 +2868,7 @@ int nfs_utimes_async(struct nfs_context *nfs, const char *path, struct timeval * /* * Async utime() */ +#ifdef HAVE_UTIME_H int nfs_utime_async(struct nfs_context *nfs, const char *path, struct utimbuf *times, nfs_cb cb, void *private_data) { struct timeval *new_times = NULL; @@ -2892,9 +2893,7 @@ int nfs_utime_async(struct nfs_context *nfs, const char *path, struct utimbuf *t return 0; } - - - +#endif /*