2023-08-16 22:26:55 +00:00
|
|
|
Index: src/gba/GBALink.cpp
|
|
|
|
--- src/gba/GBALink.cpp.orig
|
|
|
|
+++ src/gba/GBALink.cpp
|
2023-09-08 05:21:37 +00:00
|
|
|
@@ -5,7 +5,7 @@
|
|
|
|
#include <string>
|
2023-08-16 22:26:55 +00:00
|
|
|
|
|
|
|
// 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>
|