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>
This commit is contained in:
Robert Sloan 2018-10-22 16:32:35 -07:00 committed by CQ bot account: commit-bot@chromium.org
parent 35fb591f24
commit b64c53fcfd

View File

@ -33,7 +33,9 @@
#include <linux/random.h> #include <linux/random.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#endif #endif
#if !defined(OPENSSL_ANDROID)
#include <sys/auxv.h> #include <sys/auxv.h>
#endif
#include <sys/syscall.h> #include <sys/syscall.h>
#endif #endif