Lines 1-10
Link Here
|
1 |
--- include/chipmunk/chipmunk.h.orig 2015-01-13 01:54:11 UTC |
1 |
--- include/chipmunk/chipmunk.h.orig 2015-01-13 01:54:11 UTC |
2 |
+++ include/chipmunk/chipmunk.h |
2 |
+++ include/chipmunk/chipmunk.h |
3 |
@@ -32,6 +32,8 @@ |
3 |
@@ -32,6 +32,9 @@ |
4 |
#ifdef WIN32 |
4 |
#ifdef WIN32 |
5 |
// For alloca(). |
5 |
// For alloca(). |
6 |
#include <malloc.h> |
6 |
#include <malloc.h> |
7 |
+#elif defined(__FreeBSD__) |
7 |
+#elif defined(__DragonFly__) || defined(__FreeBSD__) \ |
|
|
8 |
+ || defined(__NetBSD__) || defined(__OpenBSD__) \ |
8 |
+ /* already included in <stdlib.h> */ |
9 |
+ /* already included in <stdlib.h> */ |
9 |
#else |
10 |
#else |
10 |
#include <alloca.h> |
11 |
#include <alloca.h> |