c0e7e8907d98dbfb1c46e50c651902fa43327388
[feed/packages.git] / net / samba4 / patches / 007-libldb-fix-musl-libc-unkown-type-error.patch
1 From d90534469c5c43bf2a97e5698a5ddb4b7471f92a Mon Sep 17 00:00:00 2001
2 From: Changqing Li <changqing.li@windriver.com>
3 Date: Tue, 24 Jul 2018 10:53:16 +0800
4 Subject: [PATCH] libldb: fix musl libc unkoown type error
5
6 tevent.h:1440:8: error: unknown type name 'pid_t'; did you mean 'div_t'?
7 pid_t *pid,
8 ^~~~~
9 div_t
10
11 Signed-off-by: Changqing Li <changqing.li@windriver.com>
12 ---
13 lib/tevent/tevent.h | 2 ++
14 1 file changed, 2 insertions(+)
15
16 diff --git a/lib/tevent/tevent.h b/lib/tevent/tevent.h
17 index aa6fe0d..2572696 100644
18 --- a/lib/tevent/tevent.h
19 +++ b/lib/tevent/tevent.h
20 @@ -32,6 +32,8 @@
21 #include <talloc.h>
22 #include <sys/time.h>
23 #include <stdbool.h>
24 +#include <sys/stat.h>
25 +#include <sys/types.h>
26
27 struct tevent_context;
28 struct tevent_ops;
29 --
30 2.7.4
31