From 19d2a20a7f811beedcb62c91673125e8a7534fcd Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Wed, 21 Mar 2001 14:10:50 +0000 Subject: 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 --- crypto/rand/rand_egd.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'crypto/rand') 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 #include +#ifndef NO_SYS_UN_H #include +#else +struct sockaddr_un { + short sun_family; /* AF_UNIX */ + char sun_path[108]; /* path name (gag) */ +}; +#endif /* NO_SYS_UN_H */ #include #ifndef offsetof -- cgit v1.2.3