diff options
author | Tim Harder <radhermit@gentoo.org> | 2016-04-16 16:59:58 -0400 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2016-04-16 17:01:05 -0400 |
commit | 6b03f08744ea3c3c087c571e649d1f50ffdbbd1b (patch) | |
tree | 47bca38fc93056d7b4e54cec01db68c65b36f2ce /sys-process/procenv/files/procenv-0.45-sysmacros.patch | |
parent | sys-apps/systemd: Backport sysmacros fix (diff) | |
download | gentoo-6b03f08744ea3c3c087c571e649d1f50ffdbbd1b.tar.gz gentoo-6b03f08744ea3c3c087c571e649d1f50ffdbbd1b.tar.bz2 gentoo-6b03f08744ea3c3c087c571e649d1f50ffdbbd1b.zip |
sys-process/procenv: explicitly include sysmacros header
Diffstat (limited to 'sys-process/procenv/files/procenv-0.45-sysmacros.patch')
-rw-r--r-- | sys-process/procenv/files/procenv-0.45-sysmacros.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/sys-process/procenv/files/procenv-0.45-sysmacros.patch b/sys-process/procenv/files/procenv-0.45-sysmacros.patch new file mode 100644 index 000000000000..5d7230c4bc4d --- /dev/null +++ b/sys-process/procenv/files/procenv-0.45-sysmacros.patch @@ -0,0 +1,23 @@ +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. + +--- procenv-0.45/src/procenv.h ++++ procenv-0.45/src/procenv.h +@@ -59,6 +59,7 @@ + #include <getopt.h> + #include <assert.h> + #include <sys/types.h> ++#include <sys/sysmacros.h> + #include <inttypes.h> + #include <sys/ioctl.h> + #include <sys/stat.h> +--- procenv-0.45/src/util.h ++++ procenv-0.45/src/util.h +@@ -22,6 +22,7 @@ + #include <stdio.h> + #include <string.h> + #include <sys/types.h> ++#include <sys/sysmacros.h> + #include <errno.h> + #include <stdbool.h> + #include <fcntl.h> |