summaryrefslogtreecommitdiff
blob: e64a8b6ba43fa4f764c6cc2e35e93b815dd600f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Fix building with gcc-4.7

https://bugs.gentoo.org/show_bug.cgi?id=421871

Patch written by Kacper Kowalik <xarthisius@gentoo.org>
--- a/Source/util.h
+++ b/Source/util.h
@@ -18,6 +18,7 @@
 #define _UTIL_H_
 
 #include <string> // for std::string
+#include <unistd.h>
 
 #include "boost/scoped_ptr.hpp" // for boost::scoped_ptr
 #include "ResourceEditor.h"