opnsense-ports/graphics/ptex/files/patch-src_ptex_PtexPlatform.h
Franco Fichtner 15dc537a02 */*: sync with upstream
Taken from: FreeBSD
2022-10-25 07:58:13 +02:00

12 lines
303 B
C

--- src/ptex/PtexPlatform.h.orig 2022-08-05 02:02:51 UTC
+++ src/ptex/PtexPlatform.h
@@ -70,7 +70,9 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY O
// linux/unix/posix
#include <stdlib.h>
+#if !defined(__FreeBSD__)
#include <alloca.h>
+#endif
#include <string.h>
#include <pthread.h>