summaryrefslogtreecommitdiff
blob: b3250fee679b43455ddee7acc47aae09da9f2a35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Fix compile with gcc47
Bug #419635
https://bugs.gentoo.org/show_bug.cgi?id=419635
Submitted by Nikos Chantziaras

--- src/tools/depbuild.cpp
+++ src/tools/depbuild.cpp
@@ -25,6 +25,7 @@
 #include <string>
 #include <cstdio>
 #include <cstdlib>
+#include <unistd.h>
 using namespace std;
 
 #include "fileutil.h"