X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=lib%2Flibnfs-sync.c;h=7de245f64531d90c3ee1bba65ad56641d7f99382;hb=584346331d758920d9307a43d3ee86f1ed61bc8b;hp=c145d8fb5ff894c4921f0b0deb6a83fbf3b0ae8b;hpb=728970051cb7420c08c3c4860f09f971880e3244;p=deb_libnfs.git diff --git a/lib/libnfs-sync.c b/lib/libnfs-sync.c index c145d8f..7de245f 100644 --- a/lib/libnfs-sync.c +++ b/lib/libnfs-sync.c @@ -27,12 +27,11 @@ #ifdef WIN32 #include "win32_compat.h" -#else -#include -#include -#include +#endif + +#ifdef HAVE_NET_IF_H #include -#endif /*WIN32*/ +#endif #ifdef ANDROID #define statvfs statfs @@ -50,10 +49,18 @@ #include #endif +#ifdef HAVE_SYS_SOCKET_H +#include +#endif + #ifdef HAVE_POLL_H #include #endif +#ifdef HAVE_NETDB_H +#include +#endif + #ifdef HAVE_UNISTD_H #include #endif @@ -62,6 +69,10 @@ #include #endif +#ifdef HAVE_STRINGS_H +#include +#endif + #include #include #include