X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=lib%2Finit.c;h=ecac1e7e2fd168b3831aea109a32d65ad093cb20;hb=0c1a9d7a6b0dd2ff09868a99141ed1fc98533d22;hp=e1d4980913f62a0dcc2129f1b792266a98fb27fb;hpb=2142af5d472ae35afca3b6b2c0da26974e8b11b3;p=deb_libnfs.git
diff --git a/lib/init.c b/lib/init.c
index e1d4980..ecac1e7 100644
--- a/lib/init.c
+++ b/lib/init.c
@@ -11,15 +11,25 @@
You should have received a copy of the GNU Lesser General Public License
along with this program; if not, see .
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#ifdef AROS
+#include "aros_compat.h"
+#endif
#ifdef WIN32
#include "win32_compat.h"
#else
-#include
#include
#endif/*WIN32*/
#define _GNU_SOURCE
+#ifdef HAVE_UNISTD_H
+#include
+#endif
+
#include
#include
#include
@@ -32,10 +42,6 @@
#include "libnfs-raw.h"
#include "libnfs-private.h"
-#ifdef AROS
-#include "aros_compat.h"
-#endif
-
struct rpc_context *rpc_init_context(void)
{
struct rpc_context *rpc;