Because DEC C - sorry, HP C - is picky about features, we need to
authorRichard Levitte <levitte@openssl.org>
Wed, 28 Jan 2009 07:38:14 +0000 (07:38 +0000)
committerRichard Levitte <levitte@openssl.org>
Wed, 28 Jan 2009 07:38:14 +0000 (07:38 +0000)
define _XOPEN_SOURCE_EXTENDED to reach fd_set and timeval types and
functionality.

apps/ocsp.c

index 1ae4cf2ff7d6ba1c94e3598a37172b23e98cc5d7..6f36edcc527a55c504e0931562adab4355b9cea3 100644 (file)
@@ -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>