src/libudev/libudev.h, src/udev/udev.h: include <sys/sysmacros.h>

<sys/sysmacros.h> is no longer implicitly pulled in via <sys/types.h>
in glibc 2.24 and above.

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
This commit is contained in:
Anthony G. Basile 2016-11-20 19:09:41 -05:00
parent 4f3b8298fb
commit d3aab3bde9
2 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,7 @@
#define _LIBUDEV_H_ #define _LIBUDEV_H_
#include <stdarg.h> #include <stdarg.h>
#include <sys/sysmacros.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>

View File

@ -18,6 +18,7 @@
#pragma once #pragma once
#include <sys/sysmacros.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/param.h> #include <sys/param.h>
#include <signal.h> #include <signal.h>