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

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

Patch written by Kacper Kowalik <xarthisius@gentoo.org>
--- a/valknut/main.cpp
+++ b/valknut/main.cpp
@@ -22,6 +22,7 @@
 #endif
 
 #include <stdlib.h>
+#include <unistd.h>   /* _exit */
 #ifndef WIN32
 #include <signal.h>
 #endif