commit:     962d51191d7ac490d0a44fd3c370d27841ff43a5
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 13 23:13:55 2016 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Sat Feb 13 23:13:55 2016 +0000
URL:        https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=962d5119

autogen: pull in inttypes as we use it

This allows us to clean up some of the __INTERIX mess in the process.

 autogen.sh          | 1 +
 libq/hash_fd.c      | 2 --
 libq/md5_sha1_sum.c | 2 --
 porting.h           | 2 --
 4 files changed, 1 insertion(+), 6 deletions(-)

diff --git a/autogen.sh b/autogen.sh
index dbb2aac..4313a84 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -20,6 +20,7 @@ mods="
        futimens
        getline
        getopt-posix
+       inttypes
        mkdirat
        openat
        progname

diff --git a/libq/hash_fd.c b/libq/hash_fd.c
index 3d352da..c021267 100644
--- a/libq/hash_fd.c
+++ b/libq/hash_fd.c
@@ -23,9 +23,7 @@
 #include <fcntl.h>
 #include <limits.h>
 #include <stdio.h>
-#ifndef __INTERIX
 #include <inttypes.h>
-#endif
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>

diff --git a/libq/md5_sha1_sum.c b/libq/md5_sha1_sum.c
index ed6adf0..6232433 100644
--- a/libq/md5_sha1_sum.c
+++ b/libq/md5_sha1_sum.c
@@ -20,9 +20,7 @@
 #include <fcntl.h>
 #include <limits.h>
 #include <stdio.h>
-#ifndef __INTERIX
 #include <inttypes.h>
-#endif
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>

diff --git a/porting.h b/porting.h
index 8045813..28b6317 100644
--- a/porting.h
+++ b/porting.h
@@ -31,9 +31,7 @@
 #include <dirent.h>
 #include <errno.h>
 #include <getopt.h>
-#ifndef __INTERIX
 #include <inttypes.h>
-#endif
 #include <libgen.h>
 #include <limits.h>
 #include <regex.h>

Reply via email to