From: Nathan Moinvaziri Date: Sat, 25 Dec 2021 01:02:13 +0000 (-0800) Subject: Move stdint.h below zconf include to prevent unexpected characters warning on ClangCl. X-Git-Tag: 2.1.0-beta1~467 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=080243069430969d4ae1754a56ad5bb5a66bfc00;p=thirdparty%2Fzlib-ng.git Move stdint.h below zconf include to prevent unexpected characters warning on ClangCl. --- diff --git a/zlib-ng.h.in b/zlib-ng.h.in index 260370781..30deabf1d 100644 --- a/zlib-ng.h.in +++ b/zlib-ng.h.in @@ -33,9 +33,10 @@ # error Include zlib-ng.h for zlib-ng API or zlib.h for zlib-compat API but not both #endif -#include #include "zconf-ng.h" +#include + #ifndef ZCONFNG_H # error Missing zconf-ng.h add binary output directory to include directories #endif diff --git a/zlib.h.in b/zlib.h.in index 40d1f73e2..1c2944cef 100644 --- a/zlib.h.in +++ b/zlib.h.in @@ -34,9 +34,10 @@ # error Include zlib-ng.h for zlib-ng API or zlib.h for zlib-compat API but not both #endif +#include "zconf.h" + #include #include -#include "zconf.h" #ifndef ZCONF_H # error Missing zconf.h add binary output directory to include directories