we can always include netinet/in.h all platforms have it
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Sun, 14 Apr 2013 17:34:33 +0000 (10:34 -0700)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Sun, 14 Apr 2013 17:34:33 +0000 (10:34 -0700)
lib/libnfs-sync.c

index 0527bbf7ff752498418bc4863a890a0713ed638d..4478a498bfc1804bbdaba7b0406d6069b5c1d57b 100644 (file)
@@ -35,7 +35,6 @@
 #endif /*WIN32*/
 
 #ifdef ANDROID
-#include <netinet/in.h>
 #define statvfs statfs
 #endif
 
@@ -66,6 +65,7 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
+#include <netinet/in.h>
 #include <errno.h>
 
 #ifdef HAVE_SYS_SOCKIO_H