summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2022-05-05 12:35:11 +0200
committerTomas Mraz <tomas@openssl.org>2022-05-13 08:33:39 +0200
commitb381519ba00628266432a2659425abda6be5b48d (patch)
tree941330bae1b0aaebec36166895c907c75efab405 /crypto
parent48d2eca1c5abe085425e63a09b63e82408c985ce (diff)
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/18293)
Diffstat (limited to 'crypto')
-rw-r--r--crypto/ctype.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/crypto/ctype.c b/crypto/ctype.c
index 8e123c73c6..b332074da5 100644
--- a/crypto/ctype.c
+++ b/crypto/ctype.c
@@ -7,15 +7,14 @@
* https://www.openssl.org/source/license.html
*/
+#include "e_os.h"
#include <string.h>
#include <stdio.h>
#include "crypto/ctype.h"
#include <openssl/ebcdic.h>
-
#include <openssl/crypto.h>
#include "internal/core.h"
#include "internal/thread_once.h"
-#include "e_os.h"
#ifndef OPENSSL_NO_LOCALE
# include <locale.h>
# ifdef OPENSSL_SYS_MACOSX