Skip to content

Commit ec17045

Browse files
Johannes Kimmelhauke
authored andcommitted
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: 3af931b Signed-off-by: Johannes Kimmel <[email protected]>
1 parent eebda1d commit ec17045

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext4_utils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ extern "C" {
2828
#define _LARGEFILE64_SOURCE 1
2929
#include <sys/types.h>
3030

31-
#ifdef __GLIBC__
31+
#ifndef __APPLE__
3232
#include <sys/sysmacros.h>
3333
#endif
3434

0 commit comments

Comments
 (0)