diff options
author | Guillem Jover <guillem@debian.org> | 2016-08-28 16:50:22 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2016-10-30 05:43:49 +0100 |
commit | 1d4e37d00e0aa8bd8b11bb034eb45812f3ec8ca5 (patch) | |
tree | 59866ff5a4758c108788a25587243a5cde16bb13 /lib | |
parent | 534510ae79d96691ba31d08b52c1158455a9621f (diff) | |
download | dpkg-1d4e37d00e0aa8bd8b11bb034eb45812f3ec8ca5.tar.gz |
libdpkg: Add <sys/sysmacros.h> on AIX for major() and minor()
Diffstat (limited to 'lib')
-rw-r--r-- | lib/dpkg/t/c-tarextract.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/dpkg/t/c-tarextract.c b/lib/dpkg/t/c-tarextract.c index c235f4472..405556558 100644 --- a/lib/dpkg/t/c-tarextract.c +++ b/lib/dpkg/t/c-tarextract.c @@ -22,6 +22,10 @@ #include <compat.h> #include <sys/types.h> +#if HAVE_SYS_SYSMACROS_H +#include <sys/sysmacros.h> /* Needed on AIX for major()/minor(). */ +#endif + #include <fcntl.h> #include <stdint.h> #include <stdio.h> |