summaryrefslogtreecommitdiff
blob: 7ccbd735a46f1eadc76dba4d85903cbfb96b182e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Fix building with glibc-2.16

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

Patch written by Kacper Kowalik <xarthisius@gentoo.org>
--- a/daemon/workit.cpp
+++ b/daemon/workit.cpp
@@ -26,6 +26,7 @@
 #include "exitcode.h"
 #include "logging.h"
 #include <sys/select.h>
+#include <sys/resource.h>
 #include <algorithm>
 
 #ifdef __FreeBSD__