From 265276038ac3553b03bba82ab669735a072ef6a4 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Tue, 28 May 2013 22:13:08 -0700 Subject: [PATCH] AROS fixes --- aros/aros_compat.h | 2 ++ lib/libnfs.c | 5 ++--- 2 files changed, 4 insertions(+), 3 deletions(-) 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 /* -- 2.34.1