repositories
/
deb_libnfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more header include cleanups
[deb_libnfs.git]
/
lib
/
libnfs-sync.c
diff --git
a/lib/libnfs-sync.c
b/lib/libnfs-sync.c
index fe711ac5f58ccce6656c93356242a869f5adeb9a..f2c9ebf481387dd8cdd2c39dde00347f58dae8c2 100644
(file)
--- a/
lib/libnfs-sync.c
+++ b/
lib/libnfs-sync.c
@@
-17,12
+17,14
@@
/*
* High level api to nfs filesystems
*/
/*
* High level api to nfs filesystems
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#ifdef WIN32
#include "win32_compat.h"
#else
#include <strings.h>
#ifdef WIN32
#include "win32_compat.h"
#else
#include <strings.h>
-#include <unistd.h>
-#include <sys/ioctl.h>
#include <netdb.h>
#include <sys/socket.h>
#include <net/if.h>
#include <netdb.h>
#include <sys/socket.h>
#include <net/if.h>
@@
-40,14
+42,18
@@
#endif /*AROS*/
#endif /*WIN32*/
#endif /*AROS*/
#endif /*WIN32*/
-#ifdef HAVE_
CONFIG
_H
-#include
"config.h"
+#ifdef HAVE_
SYS_IOCTL
_H
+#include
<sys/ioctl.h>
#endif
#ifdef HAVE_POLL_H
#include <poll.h>
#endif
#endif
#ifdef HAVE_POLL_H
#include <poll.h>
#endif
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>