mirror of
https://git.openwrt.org/project/make_ext4fs.git
synced 2025-06-30 16:37:09 +00:00
Only include sys/sysmacros.h on glibc, it is not portable
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
@ -27,7 +27,11 @@ extern "C" {
|
|||||||
#define _FILE_OFFSET_BITS 64
|
#define _FILE_OFFSET_BITS 64
|
||||||
#define _LARGEFILE64_SOURCE 1
|
#define _LARGEFILE64_SOURCE 1
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
|
#ifdef __GLIBC__
|
||||||
#include <sys/sysmacros.h>
|
#include <sys/sysmacros.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
Reference in New Issue
Block a user