X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=lib%2Flibnfs-sync.c;h=7de245f64531d90c3ee1bba65ad56641d7f99382;hb=584346331d758920d9307a43d3ee86f1ed61bc8b;hp=2fe5ed5a5886a78ab0050a3af02ddb6ff0c98d37;hpb=d7c6e9aaa9df593e951e2f19106dcc71102e74f1;p=deb_libnfs.git diff --git a/lib/libnfs-sync.c b/lib/libnfs-sync.c index 2fe5ed5..7de245f 100644 --- a/lib/libnfs-sync.c +++ b/lib/libnfs-sync.c @@ -17,39 +17,62 @@ /* * High level api to nfs filesystems */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#ifdef AROS +#include "aros_compat.h" +#endif + #ifdef WIN32 #include "win32_compat.h" -#define DllExport -#define HAVE_POLL_H -#else -#include -#include -#include -#include -#include +#endif + +#ifdef HAVE_NET_IF_H #include +#endif -#ifdef AROS -#include "aros_compat.h" -#else #ifdef ANDROID -#include -#include #define statvfs statfs -#else +#endif + +#ifdef HAVE_SYS_VFS_H +#include +#endif + +#ifdef HAVE_SYS_STATVFS_H #include -#endif /*ANDRIOD*/ -#endif /*AROS*/ -#endif /*WIN32*/ +#endif -#ifdef HAVE_CONFIG_H -#include "config.h" +#ifdef HAVE_SYS_IOCTL_H +#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