summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2015-02-12 14:23:28 -0500
committerRich Salz <rsalz@openssl.org>2015-02-12 14:24:21 -0500
commita9ea906654c616908f1195f1396c5bf5cf7fe646 (patch)
tree9c064b97bdf696d06f72fcda96f771a05ee9372e
parentbb14c2c9cac6050e231d6ea88a82232270101021 (diff)
downloadopenssl-new-a9ea906654c616908f1195f1396c5bf5cf7fe646.tar.gz
RT3684: rand_egd needs stddef.h
Reviewed-by: Andy Polyakov <appro@openssl.org> (cherry picked from commit 872f91c4036e35d292d423e751741ba76f8c5594)
-rw-r--r--crypto/rand/rand_egd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/rand/rand_egd.c b/crypto/rand/rand_egd.c
index 1b6e501b73..737aebfa22 100644
--- a/crypto/rand/rand_egd.c
+++ b/crypto/rand/rand_egd.c
@@ -113,6 +113,7 @@ int RAND_egd_bytes(const char *path, int bytes)
#else
# include <openssl/opensslconf.h>
# include OPENSSL_UNISTD
+# include <stddef.h>
# include <sys/types.h>
# include <sys/socket.h>
# ifndef NO_SYS_UN_H