14 lines
331 B
C
14 lines
331 B
C
$NetBSD: patch-libtest_lite.h,v 1.3 2014/06/26 20:31:03 asau Exp $
|
|
|
|
NetBSD doesn't have alloca.h.
|
|
--- libtest/lite.h.orig 2014-02-09 11:52:42.000000000 +0000
|
|
+++ libtest/lite.h
|
|
@@ -53,7 +53,7 @@
|
|
|
|
#if defined(WIN32)
|
|
# include <malloc.h>
|
|
-#else
|
|
+#elif !defined(__NetBSD__) && !defined(__FreeBSD__)
|
|
# include <alloca.h>
|
|
#endif
|
|
|