Needed definition of _XOPEN_SOURCE_EXTENDED so DEC C on VMS will see
authorRichard Levitte <levitte@openssl.org>
Mon, 25 Dec 2006 10:54:14 +0000 (10:54 +0000)
committerRichard Levitte <levitte@openssl.org>
Mon, 25 Dec 2006 10:54:14 +0000 (10:54 +0000)
the declarations of fd_set, select() and so on.

apps/ocsp.c

index 8bf67aa..c8676fc 100644 (file)
 
 #include <stdio.h>
 #include <string.h>
+#define _XOPEN_SOURCE_EXTENDED 1 /* Or fd_set, select() and so on won't be
+                                    declared properly on Compaq platforms
+                                    (at least with DEC C).
+                                 */
 #include <time.h>
 #include "apps.h"
 #include <openssl/pem.h>