repositories
/
deb_libnfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some more configure checks for headers
[deb_libnfs.git]
/
lib
/
libnfs-sync.c
diff --git
a/lib/libnfs-sync.c
b/lib/libnfs-sync.c
index 836e1354eaef5683a75c3cdde991390d1e3a0834..7de245f64531d90c3ee1bba65ad56641d7f99382 100644
(file)
--- a/
lib/libnfs-sync.c
+++ b/
lib/libnfs-sync.c
@@
-27,11
+27,11
@@
#ifdef WIN32
#include "win32_compat.h"
#ifdef WIN32
#include "win32_compat.h"
-#e
lse
-#include <strings.h>
-#i
nclude <netdb.h>
+#e
ndif
+
+#i
fdef HAVE_NET_IF_H
#include <net/if.h>
#include <net/if.h>
-#endif
/*WIN32*/
+#endif
#ifdef ANDROID
#define statvfs statfs
#ifdef ANDROID
#define statvfs statfs
@@
-57,6
+57,10
@@
#include <poll.h>
#endif
#include <poll.h>
#endif
+#ifdef HAVE_NETDB_H
+#include <netdb.h>
+#endif
+
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
@@
-65,6
+69,10
@@
#include <netinet/in.h>
#endif
#include <netinet/in.h>
#endif
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>