]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Move defining z_size_t to below including stddef.h and unistd.h in zconf.h.
authorMika T. Lindqvist <postmaster@raasu.org>
Tue, 16 May 2023 16:40:01 +0000 (19:40 +0300)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Tue, 16 May 2023 19:35:25 +0000 (21:35 +0200)
zconf.h.in

index 18c405e8f7032a4bf3fa3079d5fe82a5ed943a64..074f0255161b3efc31e684bfc8e7b0f848d92b24 100644 (file)
@@ -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 */