diff --git a/uppsrc/ide/Methods.cpp b/uppsrc/ide/Methods.cpp index 74d2f47b8..e874eb751 100644 --- a/uppsrc/ide/Methods.cpp +++ b/uppsrc/ide/Methods.cpp @@ -976,7 +976,11 @@ String Ide::GetCurrentIncludePath() if(IsExternalMode()) // just add everything.. MergeWith(include_path, ";", PackageDirectory(wspc[i])); } - + + // add all include paths of real current build method (because there can be additional + // includes..) + MergeWith(include_path, ";", GetIncludePath()); + return include_path; }