diff options
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.patch | 34 |
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 @@ | |||
1 | From d78dd087c4ec4715aab5fe115668e726046ecd76 Mon Sep 17 00:00:00 2001 | 1 | Upstream-Status: Backport |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | Signed-off-by: Ross Burton <ross.burton@intel.com> |
3 | Date: Mon, 13 Apr 2015 18:16:05 -0700 | ||
4 | Subject: [PATCH] Include fcntl.h in /platform_defs.h | ||
5 | 3 | ||
6 | exposed when compiling using musl | 4 | From a3877115f1956949096d77aca5a703a47ed68397 Mon Sep 17 00:00:00 2001 |
5 | From: Felix Janda <felix.janda@posteo.de> | ||
6 | Date: Sun, 3 May 2015 10:33:31 +0200 | ||
7 | Subject: [PATCH] libparted/fs/xfs/platform_defs.h: Include <fcntl.h> for | ||
8 | loff_t | ||
7 | 9 | ||
8 | Upstream-Status: Pending | 10 | This is needed for compilation with musl libc |
9 | 11 | ||
10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 12 | Suggested-by: Travis Tilley <ttilley@gmail.com> |
13 | |||
14 | Signed-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 | ||
15 | diff --git a/libparted/fs/xfs/platform_defs.h b/libparted/fs/xfs/platform_defs.h | 19 | diff --git a/libparted/fs/xfs/platform_defs.h b/libparted/fs/xfs/platform_defs.h |
16 | index 2b55752..32bd3d3 100644 | 20 | index 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 | -- |
28 | 2.1.4 | 32 | 2.11.0 |
29 | 33 | ||