mirror of
https://git.openwrt.org/project/make_ext4fs.git
synced 2024-11-23 07:30:40 -05:00
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:
3af931b0b6
Signed-off-by: Johannes Kimmel <freifunk@mail.bareminimum.eu>
This commit is contained in:
parent
eebda1d55d
commit
ec17045ec0
@ -28,7 +28,7 @@ extern "C" {
|
|||||||
#define _LARGEFILE64_SOURCE 1
|
#define _LARGEFILE64_SOURCE 1
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
#ifdef __GLIBC__
|
#ifndef __APPLE__
|
||||||
#include <sys/sysmacros.h>
|
#include <sys/sysmacros.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user