summaryrefslogtreecommitdiffstats
path: root/test/localetest.c
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:30:41 +0200
commitcf91a2b3c196ee4d7be93ab9f8fc8e097128ad68 (patch)
tree59416d5a6a6bec4a73b185c41aeeab1a12c02148 /test/localetest.c
parentFix build on OPENSSL_SYS_TANDEM and older POSIXes (diff)
downloadopenssl-cf91a2b3c196ee4d7be93ab9f8fc8e097128ad68.tar.xz
openssl-cf91a2b3c196ee4d7be93ab9f8fc8e097128ad68.zip
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)
Diffstat (limited to 'test/localetest.c')
-rw-r--r--test/localetest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/localetest.c b/test/localetest.c
index 9f13d38550..616356a140 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 <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