2006-02-23 21:15:21 +01:00
|
|
|
$NetBSD: patch-ag,v 1.4 2006/02/23 20:15:22 joerg Exp $
|
2006-02-10 21:34:25 +01:00
|
|
|
|
|
|
|
--- extern/bullet/BulletDynamics/ConstraintSolver/SorLcp.cpp.orig 2006-02-10 20:42:45.000000000 +0100
|
|
|
|
+++ extern/bullet/BulletDynamics/ConstraintSolver/SorLcp.cpp
|
|
|
|
@@ -42,7 +42,7 @@
|
|
|
|
#if defined (WIN32)
|
|
|
|
#include <malloc.h>
|
|
|
|
#else
|
|
|
|
-#if defined (__FreeBSD__)
|
2006-02-23 21:15:21 +01:00
|
|
|
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
|
2006-02-10 21:34:25 +01:00
|
|
|
#include <stdlib.h>
|
|
|
|
#else
|
|
|
|
#include <alloca.h>
|