summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd/systemd/0009-test-hexdecoct.c-Include-missing.h-form-strndupa.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/systemd/systemd/0009-test-hexdecoct.c-Include-missing.h-form-strndupa.patch')
-rw-r--r--meta/recipes-core/systemd/systemd/0009-test-hexdecoct.c-Include-missing.h-form-strndupa.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd/0009-test-hexdecoct.c-Include-missing.h-form-strndupa.patch b/meta/recipes-core/systemd/systemd/0009-test-hexdecoct.c-Include-missing.h-form-strndupa.patch
new file mode 100644
index 0000000000..d3694dcbd5
--- /dev/null
+++ b/meta/recipes-core/systemd/systemd/0009-test-hexdecoct.c-Include-missing.h-form-strndupa.patch
@@ -0,0 +1,27 @@
1From 75f4e7f167de533a160ee1af2a03fba4c5a5ffc6 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 09/12] test-hexdecoct.c: Include missing.h form strndupa
5
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7---
8Upstream-Status: Pending
9
10 src/test/test-hexdecoct.c | 1 +
11 1 file changed, 1 insertion(+)
12
13diff --git a/src/test/test-hexdecoct.c b/src/test/test-hexdecoct.c
14index fcae427e7..5eb5e2ed7 100644
15--- a/src/test/test-hexdecoct.c
16+++ b/src/test/test-hexdecoct.c
17@@ -21,6 +21,7 @@
18 #include "hexdecoct.h"
19 #include "macro.h"
20 #include "string-util.h"
21+#include "missing.h"
22
23 static void test_hexchar(void) {
24 assert_se(hexchar(0xa) == 'a');
25--
262.14.2
27