summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2007-03-29 18:34:57 +0000
committerRichard Levitte <levitte@openssl.org>2007-03-29 18:34:57 +0000
commita1d915990b887efa91bf84231fb449b749b2b144 (patch)
treeb3bf7efc12864eca86d74950c49597a027e5fa20 /apps
parentb002265ee34d1f0310009c4266ca865253b1a844 (diff)
Apply a more modern way to get the definition of select(), except for VMS.
Submitted by Corinna Vinschen <vinschen@redhat.com>
Diffstat (limited to 'apps')
-rw-r--r--apps/ocsp.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/ocsp.c b/apps/ocsp.c
index c8676fc537..6ae5fd11dd 100644
--- a/apps/ocsp.c
+++ b/apps/ocsp.c
@@ -63,7 +63,12 @@
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>