diff --git a/src/platform_posix.cc b/src/platform_posix.cc index 5a937c65..885e9557 100644 --- a/src/platform_posix.cc +++ b/src/platform_posix.cc @@ -1,7 +1,7 @@ // Copyright 2017-2018 ccls Authors // SPDX-License-Identifier: Apache-2.0 -#if defined(__unix__) || defined(__APPLE__) +#if defined(__unix__) || defined(__APPLE__) || defined(__HAIKU__) #include "platform.hh" #include "utils.hh"