summaryrefslogtreecommitdiff
path: root/media-tv/xbmc/files/xbmc-10.1-headers.patch
blob: 8c23db86529a6df1b72f985e69c71910ace3cffe (plain)
1
2
3
4
5
6
7
8
9
10
--- a/tools/TexturePacker/XBTFWriter.cpp
+++ b/tools/TexturePacker/XBTFWriter.cpp
@@ -28,6 +28,7 @@
 #include "EndianSwap.h"
 #define __STDC_FORMAT_MACROS
 #include <inttypes.h>
+#include <unistd.h> /* for unlink() prototype */
 
 #define TEMP_FILE "temp.xbt"
 #define TEMP_SIZE (10*1024*1024)