| Upstream-Status: Backport |
| Signed-off-by: Ross Burton <ross.burton@intel.com> |
| |
| From a3877115f1956949096d77aca5a703a47ed68397 Mon Sep 17 00:00:00 2001 |
| From: Felix Janda <felix.janda@posteo.de> |
| Date: Sun, 3 May 2015 10:33:31 +0200 |
| Subject: [PATCH] libparted/fs/xfs/platform_defs.h: Include <fcntl.h> for |
| loff_t |
| |
| This is needed for compilation with musl libc |
| |
| Suggested-by: Travis Tilley <ttilley@gmail.com> |
| |
| Signed-off-by: Brian C. Lane <bcl@redhat.com> |
| --- |
| libparted/fs/xfs/platform_defs.h | 1 + |
| 1 file changed, 1 insertion(+) |
| |
| diff --git a/libparted/fs/xfs/platform_defs.h b/libparted/fs/xfs/platform_defs.h |
| index 2b55752..a6ec8fb 100644 |
| --- a/libparted/fs/xfs/platform_defs.h |
| +++ b/libparted/fs/xfs/platform_defs.h |
| @@ -38,6 +38,7 @@ |
| #include <stdarg.h> |
| #include <assert.h> |
| #include <endian.h> |
| +#include <fcntl.h> |
| #include <stddef.h> |
| #include <stdlib.h> |
| #include <string.h> |
| -- |
| 2.11.0 |
| |