From: Mika T. Lindqvist Date: Tue, 16 May 2023 16:40:01 +0000 (+0300) Subject: Move defining z_size_t to below including stddef.h and unistd.h in zconf.h. X-Git-Tag: 2.1.1-beta2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41c4879b8b90f3199b1e5a1f8fc373d3082e5820;p=thirdparty%2Fzlib-ng.git Move defining z_size_t to below including stddef.h and unistd.h in zconf.h. --- diff --git a/zconf.h.in b/zconf.h.in index 18c405e8f..074f02551 100644 --- a/zconf.h.in +++ b/zconf.h.in @@ -25,8 +25,6 @@ # define z_const #endif -typedef size_t z_size_t; - /* Maximum value for memLevel in deflateInit2 */ #ifndef MAX_MEM_LEVEL # define MAX_MEM_LEVEL 9 @@ -200,4 +198,6 @@ typedef PTRDIFF_TYPE ptrdiff_t; # endif #endif +typedef size_t z_size_t; + #endif /* ZCONF_H */