]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Get int64_t on Haiku.
authorTim Kientzle <kientzle@gmail.com>
Sat, 31 Oct 2009 22:47:51 +0000 (18:47 -0400)
committerTim Kientzle <kientzle@gmail.com>
Sat, 31 Oct 2009 22:47:51 +0000 (18:47 -0400)
SVN-Revision: 1561

libarchive/test/test.h
tar/test/test.h

index 9c3ad7fea6394b0e8219ae79ae8977f11e051f6a..3e8d36e875d8ea5061c5b36d3bbf3c671307dd39 100644 (file)
 # define NLINKS_INACCURATE_FOR_DIRS
 #endif
 
+/* Haiku OS */
+#if defined(__HAIKU__)
+/* Haiku has typedefs in stdint.h (needed for int64_t) */
+#include <stdint.h>
+#endif
+
 /* FreeBSD */
 #ifdef __FreeBSD__
 #include <sys/cdefs.h>  /* For __FBSDID */
index ad667ac04516fff09b7cb1913aecbe36869ab871..de219a94552d2a2d74dabd821d765d4c5dfd05a0 100644 (file)
 # define NLINKS_INACCURATE_FOR_DIRS
 #endif
 
+/* Haiku OS */
+#if defined(__HAIKU__)
+/* Haiku has typedefs in stdint.h (needed for int64_t) */
+#include <stdint.h>
+#endif
+
 /* FreeBSD */
 #ifdef __FreeBSD__
 #include <sys/cdefs.h>  /* For __FBSDID */