diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-03-14 22:44:49 +0100 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2016-03-15 04:29:10 +0100 |
commit | 27d13af71c3af6b2f9b60556d2c046dbb6e36e23 (patch) | |
tree | 4fa85c4719310dc25b843248fc7151484dd3b05d /src/udev | |
parent | Merge pull request #2827 from keszybz/public-headers (diff) | |
download | systemd-27d13af71c3af6b2f9b60556d2c046dbb6e36e23.tar.xz systemd-27d13af71c3af6b2f9b60556d2c046dbb6e36e23.zip |
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/udev')
-rw-r--r-- | src/udev/udev.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/udev/udev.h b/src/udev/udev.h index 56590517ef..8433e8d9f2 100644 --- a/src/udev/udev.h +++ b/src/udev/udev.h @@ -19,6 +19,7 @@ */ #include <sys/param.h> +#include <sys/sysmacros.h> #include <sys/types.h> #include "libudev.h" |