summaryrefslogtreecommitdiff
path: root/games/supertuxkart/patches/patch-aa
blob: 2b5c6124f12b88d500c850e4c036045ea400ab63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-aa,v 1.1.1.1 2010/12/17 09:20:53 wiz Exp $

No alloca.h header on NetBSD.

--- src/bullet/src/BulletDynamics/ConstraintSolver/btOdeQuickstepConstraintSolver.cpp.orig	2009-10-16 00:43:55.000000000 +0000
+++ src/bullet/src/BulletDynamics/ConstraintSolver/btOdeQuickstepConstraintSolver.cpp
@@ -45,7 +45,7 @@ subject to the following restrictions:
 #if defined (WIN32)
 #include <malloc.h>
 #else
-#if defined (__FreeBSD__)
+#if defined (__FreeBSD__) || defined(__NetBSD__)
 #include <stdlib.h>
 #else
 #include <alloca.h>