Include <sys/stat.h> for S_I* macros
Fix a compilation failure with musl libc. * mknod.c: Include <sys/stat.h>. * printmode.c: Likewise. Reported-by: Dima Krasner <dima@dimakrasner.com> Acked-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
537c964fe9
commit
d34e00b293
1
mknod.c
1
mknod.c
@ -1,6 +1,7 @@
|
||||
#include "defs.h"
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#ifdef MAJOR_IN_SYSMACROS
|
||||
# include <sys/sysmacros.h>
|
||||
|
@ -1,6 +1,7 @@
|
||||
#include "defs.h"
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include "xlat/modetypes.h"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user