$NetBSD$

--- gio/libasyncns/g-asyncns.h.orig	2010-06-01 15:28:52.000000000 +0000
+++ gio/libasyncns/g-asyncns.h
@@ -27,6 +27,9 @@
 
 /* asyncns.c removed this for #580301, but that appears to have been wrong */
 #if HAVE_ARPA_NAMESER_COMPAT_H
+#ifdef __NetBSD__
+#include <sys/param.h>
+#endif
 #include <arpa/nameser_compat.h>
 #endif
 
