aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd/systemd/0003-fileio-include-sys-mman.h.patch
blob: c466d0d87b880549dae3081a3dd02450f5668fa0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From 52e922343faaa87b9efb8aa9ea578399ccc9bec9 Mon Sep 17 00:00:00 2001
From: Yu Watanabe <watanabe.yu+github@gmail.com>
Date: Sun, 26 Nov 2017 02:40:23 +0900
Subject: [PATCH 3/3] fileio: include sys/mman.h

---
Upstream-Status: Backport

 src/basic/fileio.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/basic/fileio.c b/src/basic/fileio.c
index 9a185e3e6..1015afd29 100644
--- a/src/basic/fileio.c
+++ b/src/basic/fileio.c
@@ -24,6 +24,7 @@
 #include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
+#include <sys/mman.h>
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <unistd.h>
-- 
2.16.1