diff options
Diffstat (limited to 'meta/recipes-core/systemd/systemd/0020-test-hexdecoct.c-Include-missing.h-for-strndupa.patch')
-rw-r--r-- | meta/recipes-core/systemd/systemd/0020-test-hexdecoct.c-Include-missing.h-for-strndupa.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd/0020-test-hexdecoct.c-Include-missing.h-for-strndupa.patch b/meta/recipes-core/systemd/systemd/0020-test-hexdecoct.c-Include-missing.h-for-strndupa.patch new file mode 100644 index 0000000000..ad49cfe8f7 --- /dev/null +++ b/meta/recipes-core/systemd/systemd/0020-test-hexdecoct.c-Include-missing.h-for-strndupa.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From d63d2fedcd80e58ee53655aeaf2836d4b0a14652 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Mon, 23 Oct 2017 12:33:22 -0700 | ||
4 | Subject: [PATCH 20/31] test-hexdecoct.c: Include missing.h for strndupa | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | |||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
9 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | ||
10 | --- | ||
11 | src/test/test-hexdecoct.c | 1 + | ||
12 | 1 file changed, 1 insertion(+) | ||
13 | |||
14 | diff --git a/src/test/test-hexdecoct.c b/src/test/test-hexdecoct.c | ||
15 | index 3e25a0bac..ab3e508f1 100644 | ||
16 | --- a/src/test/test-hexdecoct.c | ||
17 | +++ b/src/test/test-hexdecoct.c | ||
18 | @@ -24,6 +24,7 @@ | ||
19 | #include "hexdecoct.h" | ||
20 | #include "macro.h" | ||
21 | #include "string-util.h" | ||
22 | +#include "missing.h" | ||
23 | |||
24 | static void test_hexchar(void) { | ||
25 | assert_se(hexchar(0xa) == 'a'); | ||
26 | -- | ||
27 | 2.13.0 | ||
28 | |||