X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=lib%2Flibnfs-sync.c;h=7de245f64531d90c3ee1bba65ad56641d7f99382;hb=bff8fe460dcf4b25071fff966d86877b30eeec90;hp=fd6f796e3f830a869fc0b6c8f849e4de1e8a7a57;hpb=252aa90dc87de7a4f6cdaff5a71edc74b9f8bad1;p=deb_libnfs.git diff --git a/lib/libnfs-sync.c b/lib/libnfs-sync.c index fd6f796..7de245f 100644 --- a/lib/libnfs-sync.c +++ b/lib/libnfs-sync.c @@ -17,28 +17,60 @@ /* * 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 -#ifndef ANDROID -#include -#else -#include -#include +#endif + +#ifdef HAVE_NET_IF_H +#include +#endif + +#ifdef ANDROID #define statvfs statfs #endif -#include + +#ifdef HAVE_SYS_VFS_H +#include +#endif + +#ifdef HAVE_SYS_STATVFS_H +#include +#endif + +#ifdef HAVE_SYS_IOCTL_H #include -#include +#endif + +#ifdef HAVE_SYS_SOCKET_H #include -#include #endif -#ifdef HAVE_CONFIG_H -#include "config.h" +#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