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:
Johannes Kimmel 2019-12-06 18:05:16 +01:00 committed by Hauke Mehrtens
parent eebda1d55d
commit ec17045ec0

View File

@ -28,7 +28,7 @@ extern "C" {
#define _LARGEFILE64_SOURCE 1
#include <sys/types.h>
#ifdef __GLIBC__
#ifndef __APPLE__
#include <sys/sysmacros.h>
#endif