aboutsummaryrefslogtreecommitdiff
path: root/tools/TexturePacker
diff options
context:
space:
mode:
authorFneufneu <fneufneu@xbmc.org>2011-04-15 17:00:00 +0200
committerFneufneu <fneufneu@xbmc.org>2012-05-07 09:33:53 +0200
commitf5e9a7bcca1a582783ba25169f4710d4b689686d (patch)
tree3a7dcb1edc0c3e1bcdd448960aa1e074bda29cda /tools/TexturePacker
parent9590e609952a4b11784247545ac4b550a3d1aa6b (diff)
[FreeBSD] include stdlib.h for realloc & free
Diffstat (limited to 'tools/TexturePacker')
-rw-r--r--tools/TexturePacker/XBTFWriter.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/TexturePacker/XBTFWriter.cpp b/tools/TexturePacker/XBTFWriter.cpp
index 78b47fe810..7999a7e83f 100644
--- a/tools/TexturePacker/XBTFWriter.cpp
+++ b/tools/TexturePacker/XBTFWriter.cpp
@@ -24,7 +24,9 @@
#include <inttypes.h>
#include "guilib/XBTF.h"
#include "utils/EndianSwap.h"
-#if !defined(__APPLE__) && !defined(__FreeBSD__)
+#if defined(__FreeBSD__)
+#include <stdlib.h>
+#elif !defined(__APPLE__)
#include <malloc.h>
#endif
#include <memory.h>