summaryrefslogtreecommitdiff
path: root/media-tv/xbmc/files/xbmc-11.0_beta1-libpng-1.5-headers.patch
blob: 4648f9fd0ed07140f7fd5650700af32f403e547d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/tools/TexturePacker/XBTFWriter.cpp b/tools/TexturePacker/XBTFWriter.cpp
index 78b47fe..2e75d96 100644
--- a/tools/TexturePacker/XBTFWriter.cpp
+++ b/tools/TexturePacker/XBTFWriter.cpp
@@ -22,6 +22,7 @@
 #include "XBTFWriter.h"
 #define __STDC_FORMAT_MACROS
 #include <inttypes.h>
+#include <unistd.h> /* for unlink() prototype */
 #include "guilib/XBTF.h"
 #include "utils/EndianSwap.h"
 #if !defined(__APPLE__) && !defined(__FreeBSD__)