summaryrefslogtreecommitdiff
path: root/devel/picp/patches/patch-ab
blob: a18c0ac3bc59688dc81aeeb0887402d359376a05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-ab,v 1.2 2017/06/27 23:50:24 wiedi Exp $

needs include for alloca

--- main.c.orig	2005-07-08 23:10:15.000000000 +0000
+++ main.c
@@ -67,6 +67,10 @@
 #include <errno.h>
 #include	<time.h>
 
+#if defined(__INTERIX) || defined(__sun)
+#include <alloca.h>
+#endif
+
 #ifdef WIN32
 #include	<windows.h>
 #include	<malloc.h>