From 5f77d763ea2fa697cc8fedcbe006fe01f56e3b17 Mon Sep 17 00:00:00 2001 From: James Price Date: Fri, 28 Feb 2020 03:38:52 -0500 Subject: [PATCH] Do not include sys/sysctl.h on Android (#635) Android has linux/sysctl.h, but the functions that need it are not used when targeting Android at the moment. --- test_common/harness/testHarness.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test_common/harness/testHarness.cpp b/test_common/harness/testHarness.cpp index 38198a81..4fd122f9 100644 --- a/test_common/harness/testHarness.cpp +++ b/test_common/harness/testHarness.cpp @@ -31,10 +31,13 @@ #if !defined(_WIN32) #include -#include #include #endif +#if !defined(_WIN32) && !defined(__ANDROID__) +#include +#endif + #include #if !defined (__APPLE__)