diff options
author | Richard Levitte <levitte@openssl.org> | 2001-03-18 14:25:01 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2001-03-18 14:25:01 +0000 |
commit | 8bf49ea17028c3e3ed2afeb979b9252c5deaac5b (patch) | |
tree | 43bb356ebebc39a3fdb1e1543e07f9b64fa8a147 /crypto/rand | |
parent | 02ee8626fbf52c6b1cd7ce2508369f59eda701e9 (diff) |
New cofiguration for Unixwre and SCO,with slightly better granularity. Contributed by Tim Rice <tim@multitalents.net>
Diffstat (limited to 'crypto/rand')
-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 c4b8bae2ed..a382d93776 100644 --- a/crypto/rand/rand_egd.c +++ b/crypto/rand/rand_egd.c @@ -112,7 +112,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> #include <errno.h> |