blob: 4070127d34310d412268dea889cdc27091221048 [file] [log] [blame]
Brad Bishop15ae2502019-06-18 21:44:24 -04001Upstream-Status: Backport
2Signed-off-by: Ross Burton <ross.burton@intel.com>
Patrick Williamsc124f4f2015-09-15 14:41:29 -05003
Brad Bishop15ae2502019-06-18 21:44:24 -04004From 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
Patrick Williamsc124f4f2015-09-15 14:41:29 -05009
Brad Bishop15ae2502019-06-18 21:44:24 -040010This is needed for compilation with musl libc
Patrick Williamsc124f4f2015-09-15 14:41:29 -050011
Brad Bishop15ae2502019-06-18 21:44:24 -040012Suggested-by: Travis Tilley <ttilley@gmail.com>
13
14Signed-off-by: Brian C. Lane <bcl@redhat.com>
Patrick Williamsc124f4f2015-09-15 14:41:29 -050015---
16 libparted/fs/xfs/platform_defs.h | 1 +
17 1 file changed, 1 insertion(+)
18
19diff --git a/libparted/fs/xfs/platform_defs.h b/libparted/fs/xfs/platform_defs.h
Brad Bishop15ae2502019-06-18 21:44:24 -040020index 2b55752..a6ec8fb 100644
Patrick Williamsc124f4f2015-09-15 14:41:29 -050021--- a/libparted/fs/xfs/platform_defs.h
22+++ b/libparted/fs/xfs/platform_defs.h
Brad Bishop15ae2502019-06-18 21:44:24 -040023@@ -38,6 +38,7 @@
24 #include <stdarg.h>
25 #include <assert.h>
26 #include <endian.h>
27+#include <fcntl.h>
28 #include <stddef.h>
Patrick Williamsc124f4f2015-09-15 14:41:29 -050029 #include <stdlib.h>
30 #include <string.h>
Patrick Williamsc124f4f2015-09-15 14:41:29 -050031--
Brad Bishop15ae2502019-06-18 21:44:24 -0400322.11.0
Patrick Williamsc124f4f2015-09-15 14:41:29 -050033