2013-09-26 17:14:40 +02:00

18 lines
380 B
Plaintext

$NetBSD: patch-ab,v 1.1.1.1 2009/02/15 16:05:43 jmcneill Exp $
--- lib/framework/wzglobal.h.orig 2008-12-21 13:41:15.000000000 -0500
+++ lib/framework/wzglobal.h
@@ -522,7 +522,11 @@
#elif defined(WZ_OS_UNIX)
# include <unistd.h>
-# include <alloca.h>
+# if defined(__linux__)
+# include <alloca.h>
+# else
+# include <stdlib.h>
+# endif
#endif /* WZ_OS_* */