summaryrefslogtreecommitdiffstats
path: root/lib/libarchive
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2009-04-17 00:57:11 +0000
committerkientzle <kientzle@FreeBSD.org>2009-04-17 00:57:11 +0000
commit1823f67ce565f4b389e6d1d672b7065b85c5ab9d (patch)
tree0511bb6eb3cc0b8400b4205b28b67e736e075e1d /lib/libarchive
parent881237337e69e048bbee132f00d52c32e4ebba66 (diff)
downloadFreeBSD-src-1823f67ce565f4b389e6d1d672b7065b85c5ab9d.zip
FreeBSD-src-1823f67ce565f4b389e6d1d672b7065b85c5ab9d.tar.gz
Minor fix: some platforms require both inttypes.h and stdint.h.
Diffstat (limited to 'lib/libarchive')
-rw-r--r--lib/libarchive/archive_platform.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libarchive/archive_platform.h b/lib/libarchive/archive_platform.h
index 7367f8e..dbf5114 100644
--- a/lib/libarchive/archive_platform.h
+++ b/lib/libarchive/archive_platform.h
@@ -67,7 +67,8 @@
/* Try to get standard C99-style integer type definitions. */
#if HAVE_INTTYPES_H
#include <inttypes.h>
-#elif HAVE_STDINT_H
+#endif
+#if HAVE_STDINT_H
#include <stdint.h>
#endif
OpenPOWER on IntegriCloud