Include sys/macros.h explicitly in filesys.c for the definitions

of major(), minor() and makedev().  These functions are defined
in the sys/sysmacros.h header, not sys/types.h.  Linux C libraries
are updating to drop the implicit include, so we need to include
it explicitly.
(vapier@gentoo.org)
This commit is contained in:
Dave Anderson 2016-04-21 09:51:04 -04:00
parent 61dfedefcf
commit dc20e27e0b

View File

@ -16,6 +16,7 @@
*/
#include "defs.h"
#include <sys/sysmacros.h>
#include <linux/major.h>
#include <regex.h>
#include <sys/utsname.h>