summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2016-11-20 19:09:41 -0500
committerAnthony G. Basile <blueness@gentoo.org>2016-11-21 07:22:53 -0500
commitd3aab3bde9ce72ed27405e0f6c9a2fe67d45b43a (patch)
treef1b818bf07ba9469782093261c1a71d0e20cd614
parent4f3b8298fb55a7a591831cf71067bc160cd60599 (diff)
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>
-rw-r--r--src/libudev/libudev.h1
-rw-r--r--src/udev/udev.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/libudev/libudev.h b/src/libudev/libudev.h
index 8a2441a825..0da4c9214e 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 198cb2c137..da5e6163d0 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>