From: Tomas Mraz Date: Thu, 5 May 2022 10:35:11 +0000 (+0200) Subject: Include the e_os.h before string.h X-Git-Tag: openssl-3.2.0-alpha1~2666 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cf91a2b3c196ee4d7be93ab9f8fc8e097128ad68;p=thirdparty%2Fopenssl.git Include the e_os.h before string.h Fixes #18244 Reviewed-by: Dmitry Belyavskiy Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/18282) --- diff --git a/crypto/ctype.c b/crypto/ctype.c index f90ef19e79a..dc930159170 100644 --- a/crypto/ctype.c +++ b/crypto/ctype.c @@ -7,12 +7,11 @@ * https://www.openssl.org/source/license.html */ +#include "internal/e_os.h" #include #include #include "crypto/ctype.h" #include - -#include "internal/e_os.h" #include "internal/core.h" #ifndef OPENSSL_NO_LOCALE # include diff --git a/test/localetest.c b/test/localetest.c index 9f13d38550d..616356a1404 100644 --- a/test/localetest.c +++ b/test/localetest.c @@ -7,14 +7,14 @@ * https://www.openssl.org/source/license.html */ +#include "internal/e_os.h" #include #include +#include #include #include "testutil.h" #include "testutil/output.h" -#include -#include "internal/e_os.h" #ifndef OPENSSL_NO_LOCALE # include # ifdef OPENSSL_SYS_MACOSX