$OpenBSD: patch-src_misc_c,v 1.2 2013/06/07 10:03:27 benoit Exp $
--- src/misc.c.orig	Tue Jun  4 09:42:47 2013
+++ src/misc.c	Fri Jun  7 11:01:28 2013
@@ -33,7 +33,7 @@
 #include <string.h>
 #include <stdio.h>
 #include <math.h>
-#ifdef __NetBSD__
+#if defined(__NetBSD__) || defined(__OpenBSD__)
 #include <sys/param.h>
 #endif
 #ifdef WIN32
