$NetBSD: patch-ak,v 1.1 2009/11/03 19:06:51 markd Exp $

--- intern/guardedalloc/BLO_sys_types.h.orig	2009-09-02 03:20:29.000000000 +1200
+++ intern/guardedalloc/BLO_sys_types.h
@@ -109,7 +109,7 @@ typedef unsigned long uintptr_t;
 #ifndef ntohl
 #define ntohl(x) correctByteOrder(x)
 #endif
-#elif defined (__FreeBSD__) || defined (__OpenBSD__) 
+#elif defined (__FreeBSD__) || defined (__OpenBSD__) || defined (__NetBSD__)
 #include <sys/param.h>
 #elif defined (__APPLE__)
 #include <sys/types.h>
