$OpenBSD: patch-freemem_cc,v 1.3 2010/09/23 12:51:13 ajacoutot Exp $
--- freemem.cc.orig	Thu Sep 23 14:20:03 2010
+++ freemem.cc	Thu Sep 23 14:20:31 2010
@@ -25,6 +25,9 @@
 #include <sys/types.h>
 #include <climits>
 #include "safeunistd.h"
+#ifdef __OpenBSD__
+# include <sys/param.h>
+#endif
 #ifdef HAVE_SYS_SYSCTL_H
 # include <sys/sysctl.h>
 #endif
