summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/libldb/libldb/libldb-fix-musl-libc-unkown-type-error.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-support/libldb/libldb/libldb-fix-musl-libc-unkown-type-error.patch')
-rw-r--r--meta-networking/recipes-support/libldb/libldb/libldb-fix-musl-libc-unkown-type-error.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/libldb/libldb/libldb-fix-musl-libc-unkown-type-error.patch b/meta-networking/recipes-support/libldb/libldb/libldb-fix-musl-libc-unkown-type-error.patch
new file mode 100644
index 000000000..c0e7e8907
--- /dev/null
+++ b/meta-networking/recipes-support/libldb/libldb/libldb-fix-musl-libc-unkown-type-error.patch
@@ -0,0 +1,31 @@
1From d90534469c5c43bf2a97e5698a5ddb4b7471f92a Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com>
3Date: Tue, 24 Jul 2018 10:53:16 +0800
4Subject: [PATCH] libldb: fix musl libc unkoown type error
5
6tevent.h:1440:8: error: unknown type name 'pid_t'; did you mean 'div_t'?
7 pid_t *pid,
8 ^~~~~
9 div_t
10
11Signed-off-by: Changqing Li <changqing.li@windriver.com>
12---
13 lib/tevent/tevent.h | 2 ++
14 1 file changed, 2 insertions(+)
15
16diff --git a/lib/tevent/tevent.h b/lib/tevent/tevent.h
17index 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--
302.7.4
31