$OpenBSD: patch-src_ptex_imageio_ptex_PtexPlatform_h,v 1.1.1.1 2012/05/09 12:42:06 pascal Exp $
--- src/ptex.imageio/ptex/PtexPlatform.h.orig	Thu Apr 19 18:51:13 2012
+++ src/ptex.imageio/ptex/PtexPlatform.h	Fri Apr 20 14:53:16 2012
@@ -59,8 +59,9 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY O
 #else
 
 // linux/unix/posix
+#include <sys/param.h>
 #include <stdlib.h>
-#ifndef __FreeBSD__
+#ifndef BSD
 #include <alloca.h>
 #endif
 #include <string.h>
