X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=lib%2Flibnfs-sync.c;h=4478a498bfc1804bbdaba7b0406d6069b5c1d57b;hb=0c1a9d7a6b0dd2ff09868a99141ed1fc98533d22;hp=4e671cb98351244e9021a6661a0b800362353a1a;hpb=f816bf4c7641071d83ed2c796c93ce0ddba9b3b4;p=deb_libnfs.git diff --git a/lib/libnfs-sync.c b/lib/libnfs-sync.c index 4e671cb..4478a49 100644 --- a/lib/libnfs-sync.c +++ b/lib/libnfs-sync.c @@ -17,22 +17,45 @@ /* * 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 #else #include -#include -#include -#include -#include #include #include #include +#endif /*WIN32*/ + +#ifdef ANDROID +#define statvfs statfs #endif -#ifdef HAVE_CONFIG_H -#include "config.h" +#ifdef HAVE_SYS_VFS_H +#include +#endif + +#ifdef HAVE_SYS_STATVFS_H +#include +#endif + +#ifdef HAVE_SYS_IOCTL_H +#include +#endif + +#ifdef HAVE_POLL_H +#include +#endif + +#ifdef HAVE_UNISTD_H +#include #endif #include @@ -42,6 +65,7 @@ #include #include #include +#include #include #ifdef HAVE_SYS_SOCKIO_H