summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd/systemd/0003-fileio-include-sys-mman.h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/systemd/systemd/0003-fileio-include-sys-mman.h.patch')
-rw-r--r--meta/recipes-core/systemd/systemd/0003-fileio-include-sys-mman.h.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd/0003-fileio-include-sys-mman.h.patch b/meta/recipes-core/systemd/systemd/0003-fileio-include-sys-mman.h.patch
new file mode 100644
index 0000000000..c466d0d87b
--- /dev/null
+++ b/meta/recipes-core/systemd/systemd/0003-fileio-include-sys-mman.h.patch
@@ -0,0 +1,26 @@
1From 52e922343faaa87b9efb8aa9ea578399ccc9bec9 Mon Sep 17 00:00:00 2001
2From: Yu Watanabe <watanabe.yu+github@gmail.com>
3Date: Sun, 26 Nov 2017 02:40:23 +0900
4Subject: [PATCH 3/3] fileio: include sys/mman.h
5
6---
7Upstream-Status: Backport
8
9 src/basic/fileio.c | 1 +
10 1 file changed, 1 insertion(+)
11
12diff --git a/src/basic/fileio.c b/src/basic/fileio.c
13index 9a185e3e6..1015afd29 100644
14--- a/src/basic/fileio.c
15+++ b/src/basic/fileio.c
16@@ -24,6 +24,7 @@
17 #include <stdint.h>
18 #include <stdlib.h>
19 #include <string.h>
20+#include <sys/mman.h>
21 #include <sys/stat.h>
22 #include <sys/types.h>
23 #include <unistd.h>
24--
252.16.1
26