summaryrefslogtreecommitdiff
path: root/archivers/libarchive/patches/patch-aa
blob: ef261d94736a0f81096c96573adfd53c7bead216 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-aa,v 1.3 2005/10/13 21:34:16 xtraeme Exp $

--- archive.h.in.orig	2005-10-13 23:29:07.000000000 +0200
+++ archive.h.in	2005-10-13 23:29:22.000000000 +0200
@@ -36,7 +36,9 @@
  */
 
 #include <sys/types.h>  /* Linux requires this for off_t */
+#if HAVE_INTTYPES_H
 #include <inttypes.h>  /* For int64_t */
+#endif
 #include <unistd.h>  /* For ssize_t and size_t */
 
 #ifdef __cplusplus