And remove backup definition of offsetof.
Reviewed-by: Richard Levitte <levitte@openssl.org>
#else
# include <openssl/opensslconf.h>
# include OPENSSL_UNISTD
+# include <stddef.h>
# include <sys/types.h>
# include <sys/socket.h>
# ifndef NO_SYS_UN_H
# include <string.h>
# include <errno.h>
-# ifndef offsetof
-# define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
-# endif
-
int RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes)
{
int ret = 0;