Apply a more modern way to get the definition of select(), except for VMS.
authorRichard Levitte <levitte@openssl.org>
Thu, 29 Mar 2007 18:34:57 +0000 (18:34 +0000)
committerRichard Levitte <levitte@openssl.org>
Thu, 29 Mar 2007 18:34:57 +0000 (18:34 +0000)
Submitted by Corinna Vinschen <vinschen@redhat.com>

apps/ocsp.c

index c8676fc537003b559b952f95b99b95a4cd2488bb..6ae5fd11dd2b064a328485d8e45c0c2ebea0700d 100644 (file)
                                     declared properly on Compaq platforms
                                     (at least with DEC C).
                                  */
-#include <time.h>
+#ifdef OPENSSL_SYS_VMS
+# include <time.h>
+#else
+# include <sys/time.h>
+# include <sys/select.h>
+#endif
 #include "apps.h"
 #include <openssl/pem.h>
 #include <openssl/ocsp.h>