summaryrefslogtreecommitdiff
path: root/sys-libs/tevent/files/tevent-0.11.0-missing-include.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs/tevent/files/tevent-0.11.0-missing-include.patch')
-rw-r--r--sys-libs/tevent/files/tevent-0.11.0-missing-include.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/sys-libs/tevent/files/tevent-0.11.0-missing-include.patch b/sys-libs/tevent/files/tevent-0.11.0-missing-include.patch
new file mode 100644
index 000000000000..c88550e54e64
--- /dev/null
+++ b/sys-libs/tevent/files/tevent-0.11.0-missing-include.patch
@@ -0,0 +1,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 */