summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Kimmel2019-12-06 17:05:16 +0000
committerHauke Mehrtens2019-12-07 13:49:14 +0000
commitec17045ec0ac95f19221aa29624ab32ade842224 (patch)
tree278302c44b219877b99eac1c49d611663b8d034f
parenteebda1d55d9701ace2700d7ae461697fadf52d1f (diff)
downloadmake_ext4fs-ec17045ec0ac95f19221aa29624ab32ade842224.tar.gz
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 <freifunk@mail.bareminimum.eu>
-rw-r--r--ext4_utils.h2
1 files changed, 1 insertions, 1 deletions
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