From ceec2d8260bdb45a8252d8c93e0d3491a2b50e94 Mon Sep 17 00:00:00 2001 From: Lizan Zhou Date: Wed, 6 Mar 2019 02:34:11 -0800 Subject: [PATCH] fix mac test build Signed-off-by: Lizan Zhou --- test/server/options_impl_test.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/server/options_impl_test.cc b/test/server/options_impl_test.cc index f7a72820b28ea..31902e992add7 100644 --- a/test/server/options_impl_test.cc +++ b/test/server/options_impl_test.cc @@ -9,8 +9,10 @@ #include "common/common/utility.h" #include "server/options_impl.h" -#include "server/options_impl_platform_linux.h" +#if defined(__linux__) +#include "server/options_impl_platform_linux.h" +#endif #include "test/mocks/api/mocks.h" #include "test/test_common/environment.h" #include "test/test_common/logging.h"