From: Dr. Stephen Henson Date: Thu, 14 Jan 2010 17:51:29 +0000 (+0000) Subject: PR: 2125 X-Git-Tag: OpenSSL-fips-2_0-rc1~1351 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ce1ec9c35ef63b2c93cb554642c9652a0c4ffed5;p=oweals%2Fopenssl.git PR: 2125 Submitted by: "Alon Bar-Lev" Fix gcc-aix compilation issue. --- diff --git a/ssl/ssltest.c b/ssl/ssltest.c index 9ef43dfa88..79735126fc 100644 --- a/ssl/ssltest.c +++ b/ssl/ssltest.c @@ -143,6 +143,9 @@ #define _BSD_SOURCE 1 /* Or gethostname won't be declared properly on Linux and GNU platforms. */ +#define _XOPEN_SOURCE 500 /* Or isascii won't be declared properly on + VMS (at least with DECompHP C). */ + #include #include #include @@ -154,8 +157,6 @@ #define USE_SOCKETS #include "e_os.h" -#define _XOPEN_SOURCE 500 /* Or isascii won't be declared properly on - VMS (at least with DECompHP C). */ #include #include