summaryrefslogtreecommitdiffstats
path: root/apps/ocsp.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2009-01-28 07:38:14 +0000
committerRichard Levitte <levitte@openssl.org>2009-01-28 07:38:14 +0000
commit5871ddb01626e5ca3507fd171cf28b50305d6836 (patch)
tree0c5607fb1538794710847917878dc481c7f25642 /apps/ocsp.c
parentc7ba21493a193d65745f9765a19522bcafa43336 (diff)
Because DEC C - sorry, HP C - is picky about features, we need to
define _XOPEN_SOURCE_EXTENDED to reach fd_set and timeval types and functionality.
Diffstat (limited to 'apps/ocsp.c')
-rw-r--r--apps/ocsp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/ocsp.c b/apps/ocsp.c
index 1ae4cf2ff7..6f36edcc52 100644
--- a/apps/ocsp.c
+++ b/apps/ocsp.c
@@ -57,6 +57,9 @@
*/
#ifndef OPENSSL_NO_OCSP
+#define _XOPEN_SOURCE_EXTENDED /* So fd_set and friends get properly defined
+ on OpenVMS */
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>