suppress glibc "use sysmacros.h for major" warning
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
df25df784f
commit
4f13a70507
@ -45,7 +45,7 @@
|
||||
#include <sys/stat.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/types.h>
|
||||
#ifndef major
|
||||
#if !defined(major) || defined(__GLIBC__)
|
||||
# include <sys/sysmacros.h>
|
||||
#endif
|
||||
#include <sys/wait.h>
|
||||
|
Loading…
Reference in New Issue
Block a user