aboutsummaryrefslogtreecommitdiff
path: root/emulators/visualboyadvance-m/files/patch-src-gba-GBALink.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/visualboyadvance-m/files/patch-src-gba-GBALink.cpp')
-rw-r--r--emulators/visualboyadvance-m/files/patch-src-gba-GBALink.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/emulators/visualboyadvance-m/files/patch-src-gba-GBALink.cpp b/emulators/visualboyadvance-m/files/patch-src-gba-GBALink.cpp
new file mode 100644
index 000000000000..9e21ce9e173f
--- /dev/null
+++ b/emulators/visualboyadvance-m/files/patch-src-gba-GBALink.cpp
@@ -0,0 +1,14 @@
+--- src/gba/GBALink.cpp.orig 2014-04-29 17:12:28.260667843 -0700
++++ src/gba/GBALink.cpp 2014-04-29 17:15:31.307655026 -0700
+@@ -2,9 +2,10 @@
+ // with major changes by tjm
+ #include <string.h>
+ #include <stdio.h>
++#include <sys/param.h>
+
+ // malloc.h does not seem to exist on Mac OS 10.7
+-#ifdef __APPLE__
++#if defined(__APPLE__) || defined(__FreeBSD__)
+ #include <stdlib.h>
+ #else
+ #include <malloc.h>