python-pyasn: bump to version 1.6.0b1
[buildroot-gz.git] / package / parted / 0004-fix-includes-for-musl.patch
blob28c94ace7cf455a8f662712875af37dacb48cda0
1 Include <fcntl.h> to get loff_t definition
3 Patch borrowed from Alpine Linux at
4 http://git.alpinelinux.org/cgit/aports/plain/main/parted/fix-includes.patch. Solves
5 build with musl.
7 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 --- parted-3.1.orig/libparted/fs/xfs/platform_defs.h
10 +++ parted-3.1/libparted/fs/xfs/platform_defs.h
11 @@ -35,6 +35,7 @@
12 #define __XFS_PLATFORM_DEFS_H__
14 #include <stdio.h>
15 +#include <fcntl.h>
16 #include <stdarg.h>
17 #include <assert.h>
18 #include <endian.h>