summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/ocsp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/ocsp.c b/apps/ocsp.c
index 6f36edcc52..43179c77b8 100644
--- a/apps/ocsp.c
+++ b/apps/ocsp.c
@@ -57,8 +57,10 @@
*/
#ifndef OPENSSL_NO_OCSP
+#ifdef OPENSSL_SYS_VMS
#define _XOPEN_SOURCE_EXTENDED /* So fd_set and friends get properly defined
on OpenVMS */
+#endif
#include <stdio.h>
#include <stdlib.h>