From cedffc9d53277c8f4e4d237e7dad4b97747f9c5e Mon Sep 17 00:00:00 2001 From: Tim Kientzle Date: Sat, 31 Oct 2009 18:47:51 -0400 Subject: [PATCH] Get int64_t on Haiku. SVN-Revision: 1561 --- libarchive/test/test.h | 6 ++++++ tar/test/test.h | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/libarchive/test/test.h b/libarchive/test/test.h index 9c3ad7fea..3e8d36e87 100644 --- a/libarchive/test/test.h +++ b/libarchive/test/test.h @@ -100,6 +100,12 @@ # define NLINKS_INACCURATE_FOR_DIRS #endif +/* Haiku OS */ +#if defined(__HAIKU__) +/* Haiku has typedefs in stdint.h (needed for int64_t) */ +#include +#endif + /* FreeBSD */ #ifdef __FreeBSD__ #include /* For __FBSDID */ diff --git a/tar/test/test.h b/tar/test/test.h index ad667ac04..de219a945 100644 --- a/tar/test/test.h +++ b/tar/test/test.h @@ -101,6 +101,12 @@ # define NLINKS_INACCURATE_FOR_DIRS #endif +/* Haiku OS */ +#if defined(__HAIKU__) +/* Haiku has typedefs in stdint.h (needed for int64_t) */ +#include +#endif + /* FreeBSD */ #ifdef __FreeBSD__ #include /* For __FBSDID */ -- 2.47.3