diff options
author | Fneufneu <fneufneu@xbmc.org> | 2011-04-15 17:00:00 +0200 |
---|---|---|
committer | Fneufneu <fneufneu@xbmc.org> | 2012-05-07 09:33:53 +0200 |
commit | f5e9a7bcca1a582783ba25169f4710d4b689686d (patch) | |
tree | 3a7dcb1edc0c3e1bcdd448960aa1e074bda29cda /tools/TexturePacker | |
parent | 9590e609952a4b11784247545ac4b550a3d1aa6b (diff) |
[FreeBSD] include stdlib.h for realloc & free
Diffstat (limited to 'tools/TexturePacker')
-rw-r--r-- | tools/TexturePacker/XBTFWriter.cpp | 4 |
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> |