diff options
author | 2016-11-20 19:09:41 -0500 | |
---|---|---|
committer | 2016-11-21 07:22:53 -0500 | |
commit | d3aab3bde9ce72ed27405e0f6c9a2fe67d45b43a (patch) | |
tree | f1b818bf07ba9469782093261c1a71d0e20cd614 /src | |
parent | src/shared/missing.h: fix getrandom system call number on ARM64 (diff) | |
download | eudev-d3aab3bde9ce72ed27405e0f6c9a2fe67d45b43a.tar.gz eudev-d3aab3bde9ce72ed27405e0f6c9a2fe67d45b43a.tar.bz2 eudev-d3aab3bde9ce72ed27405e0f6c9a2fe67d45b43a.zip |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/libudev/libudev.h | 1 | ||||
-rw-r--r-- | src/udev/udev.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/libudev/libudev.h b/src/libudev/libudev.h index 8a2441a82..0da4c9214 100644 --- a/src/libudev/libudev.h +++ b/src/libudev/libudev.h @@ -21,6 +21,7 @@ #define _LIBUDEV_H_ #include <stdarg.h> +#include <sys/sysmacros.h> #include <sys/types.h> #include <sys/stat.h> diff --git a/src/udev/udev.h b/src/udev/udev.h index 198cb2c13..da5e6163d 100644 --- a/src/udev/udev.h +++ b/src/udev/udev.h @@ -18,6 +18,7 @@ #pragma once +#include <sys/sysmacros.h> #include <sys/types.h> #include <sys/param.h> #include <signal.h> |