12 lines
410 B
Text
12 lines
410 B
Text
Index: src/gba/GBALink.cpp
|
|
--- src/gba/GBALink.cpp.orig
|
|
+++ src/gba/GBALink.cpp
|
|
@@ -5,7 +5,7 @@
|
|
#include <string>
|
|
|
|
// malloc.h does not seem to exist on Mac OS 10.7 and is an error on FreeBSD
|
|
-#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__)
|
|
+#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
|
|
#include <stdlib.h>
|
|
#else
|
|
#include <malloc.h>
|