summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/parted/files/0001-Include-fcntl.h-in-platform_defs.h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/parted/files/0001-Include-fcntl.h-in-platform_defs.h.patch')
-rw-r--r--meta/recipes-extended/parted/files/0001-Include-fcntl.h-in-platform_defs.h.patch34
1 files changed, 19 insertions, 15 deletions
diff --git a/meta/recipes-extended/parted/files/0001-Include-fcntl.h-in-platform_defs.h.patch b/meta/recipes-extended/parted/files/0001-Include-fcntl.h-in-platform_defs.h.patch
index b0376cefcf..4070127d34 100644
--- a/meta/recipes-extended/parted/files/0001-Include-fcntl.h-in-platform_defs.h.patch
+++ b/meta/recipes-extended/parted/files/0001-Include-fcntl.h-in-platform_defs.h.patch
@@ -1,29 +1,33 @@
1From d78dd087c4ec4715aab5fe115668e726046ecd76 Mon Sep 17 00:00:00 2001 1Upstream-Status: Backport
2From: Khem Raj <raj.khem@gmail.com> 2Signed-off-by: Ross Burton <ross.burton@intel.com>
3Date: Mon, 13 Apr 2015 18:16:05 -0700
4Subject: [PATCH] Include fcntl.h in /platform_defs.h
5 3
6exposed when compiling using musl 4From a3877115f1956949096d77aca5a703a47ed68397 Mon Sep 17 00:00:00 2001
5From: Felix Janda <felix.janda@posteo.de>
6Date: Sun, 3 May 2015 10:33:31 +0200
7Subject: [PATCH] libparted/fs/xfs/platform_defs.h: Include <fcntl.h> for
8 loff_t
7 9
8Upstream-Status: Pending 10This is needed for compilation with musl libc
9 11
10Signed-off-by: Khem Raj <raj.khem@gmail.com> 12Suggested-by: Travis Tilley <ttilley@gmail.com>
13
14Signed-off-by: Brian C. Lane <bcl@redhat.com>
11--- 15---
12 libparted/fs/xfs/platform_defs.h | 1 + 16 libparted/fs/xfs/platform_defs.h | 1 +
13 1 file changed, 1 insertion(+) 17 1 file changed, 1 insertion(+)
14 18
15diff --git a/libparted/fs/xfs/platform_defs.h b/libparted/fs/xfs/platform_defs.h 19diff --git a/libparted/fs/xfs/platform_defs.h b/libparted/fs/xfs/platform_defs.h
16index 2b55752..32bd3d3 100644 20index 2b55752..a6ec8fb 100644
17--- a/libparted/fs/xfs/platform_defs.h 21--- a/libparted/fs/xfs/platform_defs.h
18+++ b/libparted/fs/xfs/platform_defs.h 22+++ b/libparted/fs/xfs/platform_defs.h
19@@ -42,6 +42,7 @@ 23@@ -38,6 +38,7 @@
24 #include <stdarg.h>
25 #include <assert.h>
26 #include <endian.h>
27+#include <fcntl.h>
28 #include <stddef.h>
20 #include <stdlib.h> 29 #include <stdlib.h>
21 #include <string.h> 30 #include <string.h>
22 #include <unistd.h>
23+#include <fcntl.h>
24 #include <sys/param.h>
25 #include <sys/types.h>
26
27-- 31--
282.1.4 322.11.0
29 33