PR: 2125
authorDr. Stephen Henson <steve@openssl.org>
Thu, 14 Jan 2010 17:51:52 +0000 (17:51 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 14 Jan 2010 17:51:52 +0000 (17:51 +0000)
Submitted by: "Alon Bar-Lev" <alon.barlev@gmail.com>

Fix gcc-aix compilation issue.

ssl/ssltest.c

index 9ef43dfa88fb48561200dbbf4d20003ec535f59d..79735126fc90723de4a2df6875f4ebd09c864c2a 100644 (file)
 #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 <assert.h>
 #include <errno.h>
 #include <limits.h>
 #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 <ctype.h>
 
 #include <openssl/bio.h>