openbsd-ports/www/xapian-omega/patches/patch-freemem_cc

14 lines
350 B
Plaintext

$OpenBSD: patch-freemem_cc,v 1.2 2010/06/07 08:40:17 ajacoutot Exp $
--- freemem.cc.orig Wed Apr 28 15:40:53 2010
+++ freemem.cc Mon Jun 7 10:21:01 2010
@@ -24,6 +24,9 @@
#include <sys/types.h>
#include <climits>
#include <unistd.h>
+#ifdef __OpenBSD__
+# include <sys/param.h>
+#endif
#ifdef HAVE_SYS_SYSCTL_H
# include <sys/sysctl.h>
#endif