wmhdplop: include sys/sysmacros.h for major/minor funcs
commit7cf2e5406b9bc98054404c4c0145c2db0c0ef1e8
authorBernard Cafarelli <voyageur@gentoo.org>
Thu, 16 Feb 2017 14:16:43 +0000 (16 15:16 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Thu, 16 Feb 2017 15:48:23 +0000 (16 15:48 +0000)
treec890ba228e04217e025ed56d03286414f1728351
parent13cc7b59b5480c35e861b4c2109b928fd12049d9
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
wmhdplop/devnames.c