summaryrefslogtreecommitdiff
path: root/devel/glib2/patches/patch-cf
blob: a9dc54cd6cd6138ae483ad564612929a063f34e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-cf,v 1.2 2012/04/30 13:53:48 drochner Exp $

--- gio/gnetworkingprivate.h.orig	2012-03-31 18:24:51.000000000 +0000
+++ gio/gnetworkingprivate.h
@@ -51,6 +51,9 @@
 #include <arpa/inet.h>
 #include <arpa/nameser.h>
 #if defined(HAVE_ARPA_NAMESER_COMPAT_H) && !defined(GETSHORT)
+#ifdef __NetBSD__
+#include <sys/param.h>
+#endif
 #include <arpa/nameser_compat.h>
 #endif
 #include <net/if.h>