From 38b6ff9e5294811c57541ad47940f8f8f41dc114 Mon Sep 17 00:00:00 2001 From: beck <> Date: Fri, 22 Jun 2001 00:03:44 +0000 Subject: openssl-engine-0.9.6a merge --- src/lib/libcrypto/rand/rand_egd.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/lib/libcrypto/rand/rand_egd.c') diff --git a/src/lib/libcrypto/rand/rand_egd.c b/src/lib/libcrypto/rand/rand_egd.c index 02a0d86fa3..79b5e6fa57 100644 --- a/src/lib/libcrypto/rand/rand_egd.c +++ b/src/lib/libcrypto/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-55-g6feb