commit | b64c53fcfd3219af14d16b56961cf9024592a82e | [log] [tgz] |
---|---|---|
author | Robert Sloan <varomodt@google.com> | Mon Oct 22 16:32:35 2018 -0700 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Tue Oct 23 18:20:59 2018 +0000 |
tree | af9df676e41acbbc9413c0f5cf57a46198d6f593 | |
parent | 35fb591f242ec6b34ed24eb1c2cb7adb13fcf3b7 [diff] |
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 <davidben@google.com> Commit-Queue: David Benjamin <davidben@google.com> CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
diff --git a/crypto/fipsmodule/rand/urandom.c b/crypto/fipsmodule/rand/urandom.c index 777920e..c3b0e66 100644 --- a/crypto/fipsmodule/rand/urandom.c +++ b/crypto/fipsmodule/rand/urandom.c
@@ -33,7 +33,9 @@ #include <linux/random.h> #include <sys/ioctl.h> #endif +#if !defined(OPENSSL_ANDROID) #include <sys/auxv.h> +#endif #include <sys/syscall.h> #endif