From fda23aa3b7eb6cb280bf99806ade2815bd5a9f14 Mon Sep 17 00:00:00 2001 From: Guido Draheim Date: Fri, 28 Apr 2006 00:07:51 +0000 Subject: [PATCH] bsd/mac problem (types.h) --- zzip/types.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zzip/types.h b/zzip/types.h index f792cdb..c20f128 100644 --- a/zzip/types.h +++ b/zzip/types.h @@ -24,6 +24,9 @@ #include #include #include /* size_t and friends */ +#ifdef ZZIP_HAVE_SYS_TYPES_H +#include /* bsd (mac) has size_t here */ +#endif /* msvc6 has neither ssize_t (we assume "int") nor off_t (assume "long") */ typedef unsigned char zzip_byte_t; // especially zlib decoding data -- 2.40.0