summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd/systemd/0015-test-hexdecoct.c-Include-missing.h-for-strndupa.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/systemd/systemd/0015-test-hexdecoct.c-Include-missing.h-for-strndupa.patch')
-rw-r--r--meta/recipes-core/systemd/systemd/0015-test-hexdecoct.c-Include-missing.h-for-strndupa.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd/0015-test-hexdecoct.c-Include-missing.h-for-strndupa.patch b/meta/recipes-core/systemd/systemd/0015-test-hexdecoct.c-Include-missing.h-for-strndupa.patch
new file mode 100644
index 0000000000..c7ca9cd4bd
--- /dev/null
+++ b/meta/recipes-core/systemd/systemd/0015-test-hexdecoct.c-Include-missing.h-for-strndupa.patch
@@ -0,0 +1,28 @@
1From b11109ecc41110c518a98b6ac39611ff86477021 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 23 Oct 2017 12:33:22 -0700
4Subject: [PATCH 15/19] test-hexdecoct.c: Include missing.h for strndupa
5
6Upstream-Status: Inappropriate [musl specific]
7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
10---
11 src/test/test-hexdecoct.c | 1 +
12 1 file changed, 1 insertion(+)
13
14diff --git a/src/test/test-hexdecoct.c b/src/test/test-hexdecoct.c
15index da9f3008b..7ff2dfe0c 100644
16--- a/src/test/test-hexdecoct.c
17+++ b/src/test/test-hexdecoct.c
18@@ -6,6 +6,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--
272.11.0
28