summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2012-02-12 18:25:11 +0000
committerDr. Stephen Henson <steve@openssl.org>2012-02-12 18:25:11 +0000
commit276eb93218153cf044f61966c43f03010a4de8c2 (patch)
tree7429c89c50b04ce9b2005445a5c90272abcc697e /apps
parent29c33e16acf9addb54321d89394eb72bdae2a2d4 (diff)
PR: 2717
Submitted by: Tim Rice <tim@multitalents.net> Make compilation work on OpenServer 5.0.7
Diffstat (limited to 'apps')
-rw-r--r--apps/apps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/apps.c b/apps/apps.c
index 153e723dc8..cf6891176b 100644
--- a/apps/apps.c
+++ b/apps/apps.c
@@ -109,7 +109,7 @@
*
*/
-#ifndef _POSIX_C_SOURCE
+#if !defined(_POSIX_C_SOURCE) && defined(OPENSSL_SYS_VMS)
#define _POSIX_C_SOURCE 2 /* On VMS, you need to define this to get
the declaration of fileno(). The value
2 is to make sure no function defined