summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2012-02-11 23:38:49 +0000
committerDr. Stephen Henson <steve@openssl.org>2012-02-11 23:38:49 +0000
commitc714e43c8df97bbd1855e47ffc72ed99c5d2bd9c (patch)
treeddccc6db0c334d1e7125b462b0822abda2335da9 /apps
parentcdf9d6f6ed992393e96d56cc5e9fa27ca329714e (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 02cf44d488..4e11915b02 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