summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd/systemd/0002-configure.ac-Check-if-memfd_create-is-already-define.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/systemd/systemd/0002-configure.ac-Check-if-memfd_create-is-already-define.patch')
-rw-r--r--meta/recipes-core/systemd/systemd/0002-configure.ac-Check-if-memfd_create-is-already-define.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd/0002-configure.ac-Check-if-memfd_create-is-already-define.patch b/meta/recipes-core/systemd/systemd/0002-configure.ac-Check-if-memfd_create-is-already-define.patch
new file mode 100644
index 0000000000..da798a79a3
--- /dev/null
+++ b/meta/recipes-core/systemd/systemd/0002-configure.ac-Check-if-memfd_create-is-already-define.patch
@@ -0,0 +1,27 @@
1From 025408c87869962f511de044dd41a1f4b1d80165 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 27 Jan 2018 11:53:38 -0800
4Subject: [PATCH 2/3] configure.ac: Check if memfd_create is already defined
5
6Upstream-Status: Inappropriate [upstream systemd uses meson]
7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9---
10 configure.ac | 1 +
11 1 file changed, 1 insertion(+)
12
13diff --git a/configure.ac b/configure.ac
14index 3674190fb..c7a184d72 100644
15--- a/configure.ac
16+++ b/configure.ac
17@@ -340,6 +340,7 @@ AC_CHECK_DECLS([
18 [], [], [[
19 #include <sys/types.h>
20 #include <unistd.h>
21+#include <sys/mman.h>
22 #include <sys/mount.h>
23 #include <fcntl.h>
24 #include <sched.h>
25--
262.16.1
27