summaryrefslogtreecommitdiff
path: root/archivers/libarchive
diff options
context:
space:
mode:
authorobache <obache>2009-09-16 06:55:45 +0000
committerobache <obache>2009-09-16 06:55:45 +0000
commit6edcebeec4db70ec2ab1de5d18b4b4111733e4ed (patch)
treefd45f22208cb3b91d5ebe5376c15edeeaec53640 /archivers/libarchive
parent0cbcc3af1fb696b6fb116eb03a6d65487fdf87d7 (diff)
downloadpkgsrc-6edcebeec4db70ec2ab1de5d18b4b4111733e4ed.tar.gz
include both inttypes.h and stdint.h. patch taken from upstream r897.
Fixes build failure on SUA 6.0.
Diffstat (limited to 'archivers/libarchive')
-rw-r--r--archivers/libarchive/files/libarchive/archive_platform.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/archivers/libarchive/files/libarchive/archive_platform.h b/archivers/libarchive/files/libarchive/archive_platform.h
index 99dfacc50f5..f314644f757 100644
--- a/archivers/libarchive/files/libarchive/archive_platform.h
+++ b/archivers/libarchive/files/libarchive/archive_platform.h
@@ -70,7 +70,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