]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
tevent: add missing `#include <sys/types.h>`
authorDavid Seifert <soap@gentoo.org>
Sun, 23 Jan 2022 14:34:57 +0000 (15:34 +0100)
committerVolker Lendecke <vl@samba.org>
Thu, 3 Feb 2022 13:18:29 +0000 (13:18 +0000)
The following functions use `pid_t` in their interface:
* `tevent_req_profile_get_status`
* `tevent_req_profile_set_status`

BUG: https://bugs.gentoo.org/828720

Signed-off-by: David Seifert <soap@gentoo.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Thu Feb  3 13:18:29 UTC 2022 on sn-devel-184

lib/tevent/tevent.h

index aaa5a068c552a0432550c476e063b3645f0f1b18..2d1863d7c6e719b48c95a799f0557990d66fd6f5 100644 (file)
@@ -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 */