diff options
Diffstat (limited to 'crypto/rand/rand_egd.c')
-rw-r--r-- | crypto/rand/rand_egd.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/crypto/rand/rand_egd.c b/crypto/rand/rand_egd.c index dc54e5fa12..dd490c8254 100644 --- a/crypto/rand/rand_egd.c +++ b/crypto/rand/rand_egd.c @@ -114,7 +114,11 @@ int RAND_egd_bytes(const char *path,int bytes) #include <sys/types.h> #include <sys/socket.h> #ifndef NO_SYS_UN_H -#include <sys/un.h> +# ifdef OPENSSL_SYS_VSWORKS +# include <streams/un.h> +# else +# include <sys/un.h> +# endif #else struct sockaddr_un { short sun_family; /* AF_UNIX */ |