freebsd-ports/devel/ispc/files/patch-src_util.cpp
Yuri Victorovich ab9d119c1d devel/ispc: Update 1.10.0 -> 1.11.0
The project switched to cmake.
2019-04-24 06:14:43 +00:00

12 lines
242 B
C++

--- src/util.cpp.orig 2019-04-20 16:26:13 UTC
+++ src/util.cpp
@@ -43,7 +43,9 @@
#include <malloc.h> // for alloca()
#endif
#else
+#if !defined(ISPC_IS_FREEBSD)
#include <alloca.h>
+#endif
#include <unistd.h>
#endif
#include <stdio.h>