From: Johannes Kimmel Date: Fri, 6 Dec 2019 17:05:16 +0000 (+0100) Subject: make_ext4fs: fix build on musl systems X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ec17045ec0ac95f19221aa29624ab32ade842224;p=project%2Fmake_ext4fs.git make_ext4fs: fix build on musl systems Include sys/sysmacros.h on all systems, except MACOS. The previous change only included the header on glibc systems: 3af931b0b6545757aaeadb13f9bb9da0296fc172 Signed-off-by: Johannes Kimmel --- diff --git a/ext4_utils.h b/ext4_utils.h index a5c1ae0..bfc48ed 100644 --- a/ext4_utils.h +++ b/ext4_utils.h @@ -28,7 +28,7 @@ extern "C" { #define _LARGEFILE64_SOURCE 1 #include -#ifdef __GLIBC__ +#ifndef __APPLE__ #include #endif