--- a/builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/CarbideLanguageData.java Mon Dec 14 10:22:37 2009 -0600
+++ b/builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/CarbideLanguageData.java Mon Dec 14 10:24:12 2009 -0600
@@ -228,7 +228,13 @@
if (oemDir.exists()) {
includeEntries.add(new CIncludePathEntry(new Path(oemDir.getAbsolutePath()), 0));
}
-
+
+ // add the compiler include
+ IPath compilerPrefixPath = carbideBuildConfig.getCompilerPrefixFile();
+ if (compilerPrefixPath != null){
+ includeEntries.add(new CIncludePathEntry(new Path(compilerPrefixPath.removeLastSegments(1).toOSString()), 0));
+ }
+
// cache the macros
macroEntries = new ArrayList<ICLanguageSettingEntry>(0);