summaryrefslogtreecommitdiff
path: root/emulators/xcopilot/patches/patch-ak
blob: f326e2a8e0b7c32a71e2ae0578dd864408c13af4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ak,v 1.1 2006/01/12 20:58:56 joerg Exp $

--- config.h.in.orig	2006-01-12 20:51:24.000000000 +0000
+++ config.h.in
@@ -71,6 +71,8 @@
 /* AIX requires this to be the first thing in the file.  */
 #if HAVE_ALLOCA_H
 # include <alloca.h>
+#elif defined(__DragonFly__) || defined(__FreeBSD__)
+# include <stdlib.h>
 #else
 # ifdef _AIX
  #pragma alloca