X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=lib%2Flibnfs.c;h=f8b294a5589ebcffba9a0b8d9e7f345ab8788469;hb=b93082da2b96a2751f9d7566ad5ec42415080c4b;hp=97663ac658ff2fe4d2285b7833c2c5bb8c79482b;hpb=67a9f57e67c3b2c147969c752532fd55eb99259c;p=deb_libnfs.git diff --git a/lib/libnfs.c b/lib/libnfs.c index 97663ac..f8b294a 100644 --- a/lib/libnfs.c +++ b/lib/libnfs.c @@ -27,11 +27,11 @@ #ifdef WIN32 #include "win32_compat.h" -#else -#include +#endif + +#ifdef HAVE_UTIME_H #include -#include -#endif /*WIN32*/ +#endif #ifdef ANDROID #define statvfs statfs @@ -51,6 +51,14 @@ #include #endif +#ifdef HAVE_NETINET_IN_H +#include +#endif + +#ifdef HAVE_STRINGS_H +#include +#endif + #include #include #include @@ -2886,9 +2894,6 @@ int nfs_utime_async(struct nfs_context *nfs, const char *path, struct utimbuf *t } - - - /* * Async access() */