From: Richard Levitte Date: Wed, 19 Jan 2005 17:03:07 +0000 (+0000) Subject: Apparently, at least with my VMS C environment, defining _XOPEN_SOURCE X-Git-Tag: OpenSSL_0_9_7g~17^2~65 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a963395a7b2fecce40d8ef5b0f8192866253e8a7;p=thirdparty%2Fopenssl.git 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* --- diff --git a/ssl/ssltest.c b/ssl/ssltest.c index 698c84a1799..e57a8e7540f 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 #include @@ -126,11 +124,14 @@ #include #include #include -#include #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 + #include #include #include