X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=e_os.h;h=f3b8fb830de5668df70e124b9395b4df48f338a3;hp=c1b9350d629026c8e159b7ea5d092639b4a57d64;hb=803141f6100ca8d756928328a262e1dc52daef2d;hpb=198c42f5af0d2cc0eb4789c7597b68b6b10cc97a diff --git a/e_os.h b/e_os.h index c1b9350d62..f3b8fb830d 100644 --- a/e_os.h +++ b/e_os.h @@ -58,7 +58,11 @@ extern "C" { * set this to a comma-separated list of 'random' device files to try out. By * default, we will try to read at least one of these files */ -# define DEVRANDOM "/dev/urandom","/dev/random","/dev/srandom" +# if defined(__s390__) +# define DEVRANDOM "/dev/prandom","/dev/urandom","/dev/hwrng","/dev/random" +# else +# define DEVRANDOM "/dev/urandom","/dev/random","/dev/srandom" +# endif # endif # if !defined(OPENSSL_NO_EGD) && !defined(DEVRANDOM_EGD) /* @@ -234,6 +238,12 @@ extern FILE *_imp___iob; # else /* The non-microsoft world */ +# if defined(OPENSSL_SYS_VXWORKS) +# include +# else +# include +# endif + # ifdef OPENSSL_SYS_VMS # define VMS 1 /*