[parted-devel] [PATCH 2/2] libparted/fs/xfs/platform_defs.h: Include <fcntl.h> for loff_t

Felix Janda felix.janda at posteo.de
Sun May 3 08:33:31 UTC 2015


This is needed for compilation with musl libc

Suggested-by: Travis Tilley <ttilley at gmail.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.3.6



More information about the parted-devel mailing list