repositories
/
deb_libnfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more include cleanups it starts to look almost decent now
[deb_libnfs.git]
/
lib
/
libnfs-sync.c
diff --git
a/lib/libnfs-sync.c
b/lib/libnfs-sync.c
index fd6f796e3f830a869fc0b6c8f849e4de1e8a7a57..0527bbf7ff752498418bc4863a890a0713ed638d 100644
(file)
--- a/
lib/libnfs-sync.c
+++ b/
lib/libnfs-sync.c
@@
-17,28
+17,46
@@
/*
* High level api to nfs filesystems
*/
/*
* 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"
#ifdef WIN32
#include "win32_compat.h"
-#define DllExport
#else
#include <strings.h>
#else
#include <strings.h>
-#include <unistd.h>
-#ifndef ANDROID
-#include <sys/statvfs.h>
-#else
+#include <netdb.h>
+#include <sys/socket.h>
+#include <net/if.h>
+#endif /*WIN32*/
+
+#ifdef ANDROID
#include <netinet/in.h>
#include <netinet/in.h>
-#include <sys/vfs.h>
#define statvfs statfs
#endif
#define statvfs statfs
#endif
-#include <poll.h>
+
+#ifdef HAVE_SYS_VFS_H
+#include <sys/vfs.h>
+#endif
+
+#ifdef HAVE_SYS_STATVFS_H
+#include <sys/statvfs.h>
+#endif
+
+#ifdef HAVE_SYS_IOCTL_H
#include <sys/ioctl.h>
#include <sys/ioctl.h>
-#include <netdb.h>
-#include <sys/socket.h>
-#include <net/if.h>
#endif
#endif
-#ifdef HAVE_CONFIG_H
-#include "config.h"
+#ifdef HAVE_POLL_H
+#include <poll.h>
+#endif
+
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
#endif
#include <stdio.h>
#endif
#include <stdio.h>