aports/main/tevent/fix-public-header.patch
Timo Teräs c1244ee13e main/tevent: fix public header
sys/types.h is needed due to:

/usr/include/tevent.h:1440:8: error: unknown type name 'pid_t'
        pid_t *pid,
        ^~~~~
/usr/include/tevent.h:1519:8: error: unknown type name 'pid_t'
        pid_t pid,
        ^~~~~
2018-07-19 10:17:17 +00:00

14 lines
384 B
Diff

tevent.h needs sys/types.h for pid_t
diff -ru tevent-0.9.37.orig/tevent.h tevent-0.9.37/tevent.h
--- tevent-0.9.37.orig/tevent.h 2018-07-12 05:51:30.000000000 +0000
+++ tevent-0.9.37/tevent.h 2018-07-19 10:13:15.360128807 +0000
@@ -31,6 +31,7 @@
#include <stdint.h>
#include <talloc.h>
#include <sys/time.h>
+#include <sys/types.h>
#include <stdbool.h>
struct tevent_context;