From: Tim Kientzle Date: Sat, 31 Oct 2009 22:47:51 +0000 (-0400) Subject: Get int64_t on Haiku. X-Git-Tag: v2.8.0~254 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cedffc9d53277c8f4e4d237e7dad4b97747f9c5e;p=thirdparty%2Flibarchive.git Get int64_t on Haiku. SVN-Revision: 1561 --- 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 */