/*
* High level api to nfs filesystems
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#ifdef WIN32
#include "win32_compat.h"
-#define DllExport
#else
#include <strings.h>
-#include <unistd.h>
-#ifndef ANDROID
-#include <sys/statvfs.h>
+#include <netdb.h>
+#include <sys/socket.h>
+#include <net/if.h>
+
+#ifdef AROS
+#include "aros_compat.h"
#else
+#ifdef ANDROID
#include <netinet/in.h>
#include <sys/vfs.h>
#define statvfs statfs
+#else
+#include <sys/statvfs.h>
+#endif /*ANDRIOD*/
+#endif /*AROS*/
+#endif /*WIN32*/
+
+#ifdef HAVE_SYS_IOCTL_H
+#include <sys/ioctl.h>
#endif
+
+#ifdef HAVE_POLL_H
#include <poll.h>
-#include <sys/ioctl.h>
-#include <netdb.h>
-#include <sys/socket.h>
-#include <net/if.h>
#endif
-#ifdef HAVE_CONFIG_H
-#include "config.h"
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
#endif
#include <stdio.h>