summaryrefslogtreecommitdiff
path: root/src/systemd/sd-device.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-03-14 17:44:49 -0400
committerMike Frysinger <vapier@gentoo.org>2016-03-14 23:29:10 -0400
commit27d13af71c3af6b2f9b60556d2c046dbb6e36e23 (patch)
tree4fa85c4719310dc25b843248fc7151484dd3b05d /src/systemd/sd-device.h
parentca9bc74bd0c80492af1f1b59f34094eddbea3c33 (diff)
downloadsystemd-27d13af71c3af6b2f9b60556d2c046dbb6e36e23.tar.gz
include sys/sysmacros.h in more places
Since glibc is moving away from implicitly including sys/sysmacros.h all the time via sys/types.h, include the header directly in more places. This seems to cover most makedev/major/minor usage.
Diffstat (limited to 'src/systemd/sd-device.h')
-rw-r--r--src/systemd/sd-device.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/systemd/sd-device.h b/src/systemd/sd-device.h
index 5bfca6ecec..c1d07561d7 100644
--- a/src/systemd/sd-device.h
+++ b/src/systemd/sd-device.h
@@ -22,6 +22,7 @@
***/
#include <inttypes.h>
+#include <sys/sysmacros.h>
#include <sys/types.h>
#include "_sd-common.h"