c472b7dc79
This reverts commit 2a56de2dec
, which
causes a large number of build failures, because parted now
unconditionally tries to link against -liconv.
Fixes:
http://autobuild.buildroot.net/results/cd5542eca077c2bbbcf43c1b00d25077056a7ea9/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
19 lines
510 B
Diff
19 lines
510 B
Diff
Include <fcntl.h> to get loff_t definition
|
|
|
|
Patch borrowed from Alpine Linux at
|
|
http://git.alpinelinux.org/cgit/aports/plain/main/parted/fix-includes.patch. Solves
|
|
build with musl.
|
|
|
|
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
|
|
|
--- parted-3.1.orig/libparted/fs/xfs/platform_defs.h
|
|
+++ parted-3.1/libparted/fs/xfs/platform_defs.h
|
|
@@ -35,6 +35,7 @@
|
|
#define __XFS_PLATFORM_DEFS_H__
|
|
|
|
#include <stdio.h>
|
|
+#include <fcntl.h>
|
|
#include <stdarg.h>
|
|
#include <assert.h>
|
|
#include <endian.h>
|