mirror of
https://git.openwrt.org/project/make_ext4fs.git
synced 2024-11-24 16:10:40 -05:00
Include sys/sysmacros.h explicitely.
Recent glibc versions do not expose major() and minor() without an explicit include of sysmacros.h anymore, therefor add it. Also remove duplicate types.h include while we're at it. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
bd53eaafbc
commit
bf98b86a5d
@ -27,9 +27,8 @@ 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>
|
||||||
|
#include <sys/sysmacros.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#include <sys/types.h>
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user