summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd/systemd/0018-check-for-uchar.h-in-configure.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/systemd/systemd/0018-check-for-uchar.h-in-configure.patch')
-rw-r--r--meta/recipes-core/systemd/systemd/0018-check-for-uchar.h-in-configure.patch44
1 files changed, 0 insertions, 44 deletions
diff --git a/meta/recipes-core/systemd/systemd/0018-check-for-uchar.h-in-configure.patch b/meta/recipes-core/systemd/systemd/0018-check-for-uchar.h-in-configure.patch
deleted file mode 100644
index 067b73ff35..0000000000
--- a/meta/recipes-core/systemd/systemd/0018-check-for-uchar.h-in-configure.patch
+++ /dev/null
@@ -1,44 +0,0 @@
1From 1355457092b02a15c646fc1c72e68b694a86dd99 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 22 Feb 2016 06:02:38 +0000
4Subject: [PATCH 12/14] check for uchar.h in configure
5
6Use ifdef to include uchar.h
7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9Upstream-Status: Pending
10
11---
12 configure.ac | 1 +
13 src/basic/missing.h | 2 ++
14 2 files changed, 3 insertions(+)
15
16diff --git a/configure.ac b/configure.ac
17index 1150ca50e..60e7df5ee 100644
18--- a/configure.ac
19+++ b/configure.ac
20@@ -304,6 +304,7 @@ AM_CONDITIONAL([HAVE_PYTHON], [test "x$have_python" = "xyes"])
21
22 # ------------------------------------------------------------------------------
23
24+AC_CHECK_HEADERS([uchar.h], [], [])
25 AC_CHECK_HEADERS([sys/capability.h], [], [AC_MSG_ERROR([*** POSIX caps headers not found])])
26 AC_CHECK_HEADERS([linux/btrfs.h], [], [])
27 AC_CHECK_HEADERS([linux/memfd.h], [], [])
28diff --git a/src/basic/missing.h b/src/basic/missing.h
29index 25a11f351..d631b7e3e 100644
30--- a/src/basic/missing.h
31+++ b/src/basic/missing.h
32@@ -37,7 +37,9 @@
33 #include <sys/resource.h>
34 #include <sys/socket.h>
35 #include <sys/syscall.h>
36+#ifdef HAVE_UCHAR_H
37 #include <uchar.h>
38+#endif
39 #include <unistd.h>
40
41 #ifdef HAVE_AUDIT
42--
432.13.2
44