summaryrefslogtreecommitdiff
path: root/misc/dartsim/files/patch-dart_external_odelcpsolver_matrix.cpp
blob: 04b66465aac4df6e6c59920aa8df49a8152355f4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- dart/external/odelcpsolver/matrix.cpp.orig	2018-11-20 16:43:32 UTC
+++ dart/external/odelcpsolver/matrix.cpp
@@ -23,6 +23,8 @@
 //#include "config.h"
 #ifdef __APPLE__
   #include <malloc/malloc.h>
+#elif defined(__FreeBSD__)
+  #include <stdlib.h>
 #else
   #include <malloc.h>
 #endif