diff options
author | Richard Levitte <levitte@openssl.org> | 2002-02-14 15:37:38 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2002-02-14 15:37:38 +0000 |
commit | 3e83e686ba2e21a2d7d991446bc6fedde5ff58c0 (patch) | |
tree | d8330c1735352c6b85a98a49ef79c97dbd096290 /crypto/rand | |
parent | 8f06b003736c957c6e693d3b5dd1393f91a530cd (diff) |
Add the configuration target VxWorks.
Diffstat (limited to 'crypto/rand')
-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 */ |