summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2005-01-19 17:03:07 +0000
committerRichard Levitte <levitte@openssl.org>2005-01-19 17:03:07 +0000
commita963395a7b2fecce40d8ef5b0f8192866253e8a7 (patch)
tree2ae8e49b06662904594ee451fed3dfffe28529e3
parentd8863f0bdb4c9e45a725e56f8b61ccc36b026dda (diff)
downloadopenssl-new-a963395a7b2fecce40d8ef5b0f8192866253e8a7.tar.gz
Apparently, at least with my VMS C environment, defining _XOPEN_SOURCE
gets _POSIX_C_SOURC and _ANSI_C_SOURCE defined, which stops u_int from being defined, and that breaks havock into the rest of the standard headers... *sigh*
-rw-r--r--ssl/ssltest.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/ssl/ssltest.c b/ssl/ssltest.c
index 698c84a179..e57a8e7540 100644
--- a/ssl/ssltest.c
+++ b/ssl/ssltest.c
@@ -116,8 +116,6 @@
#define _BSD_SOURCE 1 /* Or gethostname won't be declared properly
on Linux and GNU platforms. */
-#define _XOPEN_SOURCE 1 /* Ot isascii won't be declared properly on
- VMS (at least with DECompHP C). */
#include <assert.h>
#include <errno.h>
@@ -126,11 +124,14 @@
#include <stdlib.h>
#include <string.h>
#include <time.h>
-#include <ctype.h>
#define USE_SOCKETS
#include "e_os.h"
+#define _XOPEN_SOURCE 1 /* Or isascii won't be declared properly on
+ VMS (at least with DECompHP C). */
+#include <ctype.h>
+
#include <openssl/bio.h>
#include <openssl/crypto.h>
#include <openssl/evp.h>