]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Move stdint.h below zconf include to prevent unexpected characters warning on ClangCl.
authorNathan Moinvaziri <nathan@nathanm.com>
Sat, 25 Dec 2021 01:02:13 +0000 (17:02 -0800)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Fri, 7 Jan 2022 13:55:23 +0000 (14:55 +0100)
zlib-ng.h.in
zlib.h.in

index 260370781678f6d3f9e681bd1458c892cb963011..30deabf1d4691fd9b0199eee5fbc88eee711e704 100644 (file)
 #  error Include zlib-ng.h for zlib-ng API or zlib.h for zlib-compat API but not both
 #endif
 
-#include <stdint.h>
 #include "zconf-ng.h"
 
+#include <stdint.h>
+
 #ifndef ZCONFNG_H
 #  error Missing zconf-ng.h add binary output directory to include directories
 #endif
index 40d1f73e2edf1d63be1a2868ca5992712b4832db..1c2944cef4296396705ddc4a505465dffcdf9e24 100644 (file)
--- a/zlib.h.in
+++ b/zlib.h.in
 #  error Include zlib-ng.h for zlib-ng API or zlib.h for zlib-compat API but not both
 #endif
 
+#include "zconf.h"
+
 #include <stdint.h>
 #include <stdarg.h>
-#include "zconf.h"
 
 #ifndef ZCONF_H
 #  error Missing zconf.h add binary output directory to include directories