summaryrefslogtreecommitdiffstats
path: root/crypto/rand
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-02-14 16:23:55 +0000
committerRichard Levitte <levitte@openssl.org>2002-02-14 16:23:55 +0000
commitfb67f40f047b4a6615b5a4d01c45f71782d9d441 (patch)
tree2f86941c7604c6d3aaca89d01a9ac3c42adb844f /crypto/rand
parent48033c3242beffd474498c81f547beff79eee76a (diff)
Add the configuration target VxWorks.
Diffstat (limited to 'crypto/rand')
-rw-r--r--crypto/rand/rand_egd.c6
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 */