From ec17045ec0ac95f19221aa29624ab32ade842224 Mon Sep 17 00:00:00 2001 From: Johannes Kimmel Date: Fri, 6 Dec 2019 18:05:16 +0100 Subject: [PATCH] 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 --- 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 -#ifdef __GLIBC__ +#ifndef __APPLE__ #include #endif -- 2.30.2