summaryrefslogtreecommitdiff
path: root/sys-libs/tevent/files/tevent-0.11.0-missing-include.patch
blob: c88550e54e6497f04697d28295274ec5fdacf0c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
pid_t requires <sys/types.h>
Bug: https://bugs.gentoo.org/828720

--- a/tevent.h
+++ b/tevent.h
@@ -31,6 +31,7 @@
 #include <stdint.h>
 #include <talloc.h>
 #include <sys/time.h>
+#include <sys/types.h>
 #include <stdbool.h>
 
 /* for old gcc releases that don't have the feature test macro __has_attribute */