$NetBSD: patch-ab,v 1.2 2006/08/31 08:49:34 ghen Exp $

--- common/common.h.orig	2006-07-25 11:20:46.000000000 +0200
+++ common/common.h
@@ -57,7 +57,7 @@
 #include <arpa/nameser_compat.h>
 #else
 #ifndef _WIN32
-#if defined(_OPENBSD) || defined(_DFBSD) || defined(_FREEBSD)
+#if defined(_OPENBSD) || defined(_DFBSD) || defined(_FREEBSD) || defined(_NETBSD)
 #include <sys/endian.h>
 #else
 #include <endian.h>
