X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=lib%2Flibnfs-sync.c;h=7de245f64531d90c3ee1bba65ad56641d7f99382;hb=bff8fe460dcf4b25071fff966d86877b30eeec90;hp=4478a498bfc1804bbdaba7b0406d6069b5c1d57b;hpb=4945f307505fa51c31c9e9274f26a1421db117fc;p=deb_libnfs.git diff --git a/lib/libnfs-sync.c b/lib/libnfs-sync.c index 4478a49..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,14 +49,30 @@ #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 +#ifdef HAVE_NETINET_IN_H +#include +#endif + +#ifdef HAVE_STRINGS_H +#include +#endif + #include #include #include @@ -65,7 +80,6 @@ #include #include #include -#include #include #ifdef HAVE_SYS_SOCKIO_H