From b64c53fcfd3219af14d16b56961cf9024592a82e Mon Sep 17 00:00:00 2001 From: Robert Sloan Date: Mon, 22 Oct 2018 16:32:35 -0700 Subject: [PATCH] Guard sys/auxv.h include on !BORINGSSL_ANDROID. Some versions of Android libc don't even include the header. Change-Id: Ib1033d2b8a10ba69d834ac1ed2564870e0e35d61 Reviewed-on: https://boringssl-review.googlesource.com/c/32664 Reviewed-by: David Benjamin Commit-Queue: David Benjamin CQ-Verified: CQ bot account: commit-bot@chromium.org --- crypto/fipsmodule/rand/urandom.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crypto/fipsmodule/rand/urandom.c b/crypto/fipsmodule/rand/urandom.c index 777920ea..c3b0e66f 100644 --- a/crypto/fipsmodule/rand/urandom.c +++ b/crypto/fipsmodule/rand/urandom.c @@ -33,7 +33,9 @@ #include #include #endif +#if !defined(OPENSSL_ANDROID) #include +#endif #include #endif