diff --git a/apps/speed.c b/apps/speed.c index 1d83adccfab6898f8303c19e6d53097a696f07c6..27f2e675cdb9c96da9562b8ec86d22080970ee40 100644 --- a/apps/speed.c +++ b/apps/speed.c @@ -208,7 +208,8 @@ /* The following if from times(3) man page. It may need to be changed */ #ifndef HZ -# ifdef _SC_CLK_TCK +# if defined(_SC_CLK_TCK) \ + && (!defined(OPENSSL_SYS_VMS) || __CTRL_VER >= 70000000) # define HZ ((double)sysconf(_SC_CLK_TCK)) # else # ifndef CLK_TCK