suppress glibc "use sysmacros.h for major" warning

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
1_26_stable
Denys Vlasenko 2016-12-12 16:29:32 +01:00
parent df25df784f
commit 4f13a70507
1 changed files with 1 additions and 1 deletions

View File

@ -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>