diff options
author | Richard Levitte <levitte@openssl.org> | 2001-03-21 14:10:50 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2001-03-21 14:10:50 +0000 |
commit | 19d2a20a7f811beedcb62c91673125e8a7534fcd (patch) | |
tree | 2c2ad9cbbfa0783c035e317289995ac55de2ebc0 /crypto | |
parent | 0bf5d40787c6e3054e49375593bf33b2d54826cb (diff) |
Change from main development line, 2001-03-18 15:24 levitte
New cofiguration for Unixwre and SCO,with slightly better granularity.
Contributed by Tim Rice <tim@multitalents.net>
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/rand/rand_egd.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/crypto/rand/rand_egd.c b/crypto/rand/rand_egd.c index 02a0d86fa3..79b5e6fa57 100644 --- a/crypto/rand/rand_egd.c +++ b/crypto/rand/rand_egd.c @@ -74,7 +74,14 @@ int RAND_egd_bytes(const char *path,int bytes) #include OPENSSL_UNISTD #include <sys/types.h> #include <sys/socket.h> +#ifndef NO_SYS_UN_H #include <sys/un.h> +#else +struct sockaddr_un { + short sun_family; /* AF_UNIX */ + char sun_path[108]; /* path name (gag) */ +}; +#endif /* NO_SYS_UN_H */ #include <string.h> #ifndef offsetof |