Include the e_os.h before string.h

Fixes #18244

Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18282)
This commit is contained in:
Tomas Mraz 2022-05-05 12:35:11 +02:00
parent b98f989e0c
commit cf91a2b3c1
2 changed files with 3 additions and 4 deletions

View File

@ -7,12 +7,11 @@
* https://www.openssl.org/source/license.html
*/
#include "internal/e_os.h"
#include <string.h>
#include <stdio.h>
#include "crypto/ctype.h"
#include <openssl/ebcdic.h>
#include "internal/e_os.h"
#include "internal/core.h"
#ifndef OPENSSL_NO_LOCALE
# include <locale.h>

View File

@ -7,14 +7,14 @@
* https://www.openssl.org/source/license.html
*/
#include "internal/e_os.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <openssl/x509.h>
#include "testutil.h"
#include "testutil/output.h"
#include <stdlib.h>
#include "internal/e_os.h"
#ifndef OPENSSL_NO_LOCALE
# include <locale.h>
# ifdef OPENSSL_SYS_MACOSX