Fix compile warnings on OpenBSD.
authorAntoine Jacoutot <ajacoutot@openbsd.org>
Fri, 27 May 2011 09:08:13 +0000 (11:08 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 28 May 2011 22:59:38 +0000 (18:59 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=651223

gio/gnetworkingprivate.h

index d38928b..5ca7c17 100644 (file)
 
 #include <sys/types.h>
 
-#include <arpa/inet.h>
-#include <arpa/nameser.h>
-#if defined(HAVE_ARPA_NAMESER_COMPAT_H) && !defined(GETSHORT)
-#include <arpa/nameser_compat.h>
-#endif
 #include <netdb.h>
 #include <netinet/in.h>
 #include <netinet/tcp.h>
 #include <resolv.h>
 #include <sys/socket.h>
 #include <sys/un.h>
+#include <arpa/inet.h>
+#include <arpa/nameser.h>
+#if defined(HAVE_ARPA_NAMESER_COMPAT_H) && !defined(GETSHORT)
+#include <arpa/nameser_compat.h>
+#endif
 
 #ifndef T_SRV
 #define T_SRV 33