From fd68b8e874c8b3b134d43dd43cc1ce9bf8a99b3e Mon Sep 17 00:00:00 2001
From: "Nicolas \"Pixel\" Noble" <pixel@nobis-crew.org>
Date: Wed, 12 Oct 2011 23:50:47 +0200
Subject: Enabling cross-compilation for Darwin. Haven't tested under the real
 thing yet though. The eprintf() thingy seems odd.

---
 includes/BString.h | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'includes')

diff --git a/includes/BString.h b/includes/BString.h
index 5356310..794126f 100644
--- a/includes/BString.h
+++ b/includes/BString.h
@@ -3,7 +3,9 @@
 #include <stdarg.h>
 #include <string.h>
 #include <stdint.h>
+#ifndef __APPLE__
 #include <malloc.h>
+#endif
 #include <stdlib.h>
 #include <string>
 
-- 
cgit v1.2.3