summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2009-05-13 11:32:46 +0000
committerDr. Stephen Henson <steve@openssl.org>2009-05-13 11:32:46 +0000
commit83d8fa7dd1031eec729640d85572665a50c8f57c (patch)
tree25a50c1a5f79392ac54d8683810bb677619b428b /apps
parent586723138e20d053cf65e88f769fcbe3f81590af (diff)
Update from stable branch.
Diffstat (limited to 'apps')
-rw-r--r--apps/apps.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/apps.c b/apps/apps.c
index b04bfbd3c3..b992a04ba6 100644
--- a/apps/apps.c
+++ b/apps/apps.c
@@ -109,10 +109,12 @@
*
*/
+#ifndef _POSIX_C_SOURCE
#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
in POSIX-2 is left undefined. */
+#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>