$NetBSD: patch-aa,v 1.4 2005/10/31 14:36:08 tv Exp $

--- archive.h.in.orig	2005-10-13 01:35:04.000000000 -0400
+++ archive.h.in
@@ -36,7 +36,10 @@
  */
 
 #include <sys/types.h>  /* Linux requires this for off_t */
+#if HAVE_INTTYPES_H
 #include <inttypes.h>  /* For int64_t */
+#endif
+#include <stdlib.h>  /* For [u]intptr_t on Interix */
 #include <unistd.h>  /* For ssize_t and size_t */
 
 #ifdef __cplusplus
