X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=lib%2Flibnfs-sync.c;h=0527bbf7ff752498418bc4863a890a0713ed638d;hb=108c622a9561676b4df437c318959f79e42d4675;hp=35475571e5e951dada429263e42b0d8cde1f5216;hpb=4a2b08768a0d9ec9f5604da76f8e41263f20b821;p=deb_libnfs.git diff --git a/lib/libnfs-sync.c b/lib/libnfs-sync.c index 3547557..0527bbf 100644 --- a/lib/libnfs-sync.c +++ b/lib/libnfs-sync.c @@ -17,22 +17,46 @@ /* * 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 +#include +#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 @@ -48,6 +72,7 @@ #include #endif +#include "libnfs-zdr.h" #include "libnfs.h" #include "libnfs-raw.h" #include "libnfs-raw-mount.h"