$NetBSD: patch-cc,v 1.2 2000/01/28 07:18:38 rh Exp $

--- interface/utils.h.orig	Mon Aug 16 00:13:44 1999
+++ interface/utils.h	Fri Jan 28 08:04:27 2000
@@ -1,4 +1,16 @@
+#ifdef __linux__
 #include <endian.h>
+#endif
+#ifdef __NetBSD__
+#include <sys/param.h>
+#if __NetBSD_Version__ >= 104010000
+#include <sys/endian.h>
+#else
+#include <machine/endian.h>
+#include <machine/bswap.h>
+#endif
+#include <err.h>	/* XXX */
+#endif
 #include <stdio.h>
 #include <errno.h>
 #include <string.h>
