openbsd-ports/devel/glib2/patches/patch-gio_gnetworkingprivate_h
2011-05-27 09:13:09 +00:00

32 lines
803 B
Plaintext

$OpenBSD: patch-gio_gnetworkingprivate_h,v 1.2 2011/05/27 09:13:09 ajacoutot Exp $
https://bugzilla.gnome.org/show_bug.cgi?id=651223
--- gio/gnetworkingprivate.h.orig Tue Sep 28 15:25:02 2010
+++ gio/gnetworkingprivate.h Tue Sep 28 15:26:25 2010
@@ -49,11 +49,6 @@
#endif
#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
#ifndef T_SRV
#define T_SRV 33
@@ -71,6 +66,12 @@
#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 _PATH_RESCONF
#define _PATH_RESCONF "/etc/resolv.conf"