wmhdplop: include sys/sysmacros.h for major/minor funcs
In some future release, glibc's <sys/types.h> will not include <sys/sysmacros.h> anymore. As of 2.25, it still does, but you get deprecation warnings if you use the macros without including <sys/sysmacros.h> Gentoo original bug: https://bugs.gentoo.org/show_bug.cgi?id=604296
This commit is contained in:
parent
13cc7b59b5
commit
7cf2e5406b
|
@ -4,6 +4,7 @@
|
|||
#include <string.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/sysmacros.h>
|
||||
#include <unistd.h>
|
||||
#include <linux/major.h>
|
||||
#include <ctype.h>
|
||||
|
|
Loading…
Reference in a new issue