From ca0cb67cba09deb06cb1748786846ac7557e5c80 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 9 Dec 2018 18:23:33 +0100 Subject: Add include path for openbsd and other systems with similar structure --- backend/ninja/Ninja.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend/ninja/Ninja.cpp b/backend/ninja/Ninja.cpp index 60c1060..bc0503a 100644 --- a/backend/ninja/Ninja.cpp +++ b/backend/ninja/Ninja.cpp @@ -779,6 +779,9 @@ namespace backend ninja::NinjaBuildFile ninjaBuildFile; string globalIncDir; +#if OS_FAMILY == OS_FAMILY_POSIX + globalIncDir += "-I/usr/local/include"; +#endif for(const auto &includeDir : config.getIncludeDirs()) { string includeDirRelative = "../../../"; -- cgit v1.2.3