15 lines
332 B
C
15 lines
332 B
C
$NetBSD: patch-libtest_lite.h,v 1.4 2017/10/09 07:48:52 adam 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
|
|
|