aboutsummaryrefslogtreecommitdiffstats
path: root/apps/apps.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2012-02-11 23:41:19 +0000
committerDr. Stephen Henson <steve@openssl.org>2012-02-11 23:41:19 +0000
commitfc7dae5229a2738a57222eb5ce6fff0da47cfa29 (patch)
tree369005b016fcb10601abd7e296dfe0c87ff5e121 /apps/apps.c
parentbe81f4dd81826119f5f540d9061469476a002f01 (diff)
downloadopenssl-fc7dae5229a2738a57222eb5ce6fff0da47cfa29.tar.gz
PR: 2717
Submitted by: Tim Rice <tim@multitalents.net> Make compilation work on OpenServer 5.0.7
Diffstat (limited to 'apps/apps.c')
-rw-r--r--apps/apps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/apps.c b/apps/apps.c
index 9eff4efb50..25e501b594 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