Commit bc120a54 authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

PR: 2153, 2125

Submitted by: steve@openssl.org

The original fix for PR#2125 broke compilation on some Unixware platforms:
revert and make conditional on VMS.
parent 82a66ce3
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -143,9 +143,6 @@
#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>
@@ -157,6 +154,11 @@
#define USE_SOCKETS
#include "e_os.h"

#ifdef OPENSSL_SYS_VMS
#define _XOPEN_SOURCE 500	/* Or isascii won't be declared properly on
				   VMS (at least with DECompHP C).  */
#endif

#include <ctype.h>

#include <openssl/bio.h>