blob: 4070127d34310d412268dea889cdc27091221048 (
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
27
28
29
30
31
32
33
|
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
|