diff options
author | Richard Levitte <levitte@openssl.org> | 2007-03-29 18:34:57 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2007-03-29 18:34:57 +0000 |
commit | a1d915990b887efa91bf84231fb449b749b2b144 (patch) | |
tree | b3bf7efc12864eca86d74950c49597a027e5fa20 /apps | |
parent | b002265ee34d1f0310009c4266ca865253b1a844 (diff) | |
download | openssl-a1d915990b887efa91bf84231fb449b749b2b144.tar.gz |
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.c | 7 |
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> |