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"