From: Johannes Kimmel <freif...@mail.bareminimum.eu> 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 <freif...@mail.bareminimum.eu> --- ext4_utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 <sys/types.h> -#ifdef __GLIBC__ +#ifndef __APPLE__ #include <sys/sysmacros.h> #endif -- 2.24.0 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel