From 40a308476b2d2e586d846f53be9f7c1c4d3dd0b0 Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Thu, 26 Mar 2009 05:47:42 +0000 Subject: [PATCH] Added sys/resource.h to files to parse up front. --- .../cdt/internal/core/pdom/indexer/IndexerPreferences.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/indexer/IndexerPreferences.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/indexer/IndexerPreferences.java index a8a7948e96b..2628d98bcd4 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/indexer/IndexerPreferences.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/indexer/IndexerPreferences.java @@ -56,7 +56,9 @@ public class IndexerPreferences { private static final String KEY_INDEX_IMPORT_LOCATION = "indexImportLocation"; //$NON-NLS-1$ private static final String DEFAULT_INDEX_IMPORT_LOCATION = ".settings/cdt-index.zip"; //$NON-NLS-1$ - private static final String DEFAULT_FILES_TO_PARSE_UP_FRONT= "cstdarg, cstdio, ctime, stdarg.h, stddef.h, sys/types.h"; //$NON-NLS-1$ + // See https://bugs.eclipse.org/bugs/show_bug.cgi?id=259843 for the rationale. + private static final String DEFAULT_FILES_TO_PARSE_UP_FRONT= + "cstdarg, cstdio, sys/resource.h, ctime, stdarg.h, stddef.h, sys/types.h"; //$NON-NLS-1$ private static final int DEFAULT_UPDATE_POLICY= 0; private static final String QUALIFIER = CCorePlugin.PLUGIN_ID;