From d08c1a141daa420cd7710547fead92f65faca15f Mon Sep 17 00:00:00 2001 From: Ali Gholami Rudi Date: Tue, 24 May 2011 11:44:48 +0430 Subject: [PATCH] cpp: don't search /usr/include for headers by default The neatcc wrapper can specify the location of standard headers using -I option. --- cpp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp.c b/cpp.c index c5819eb..36e0950 100644 --- a/cpp.c +++ b/cpp.c @@ -198,8 +198,8 @@ static char *putstr(char *d, char *s) #define MAXLOCS (1 << 10) -static char *locs[MAXLOCS] = {"/usr/include"}; -static int nlocs = 1; +static char *locs[MAXLOCS] = {}; +static int nlocs = 0; void cpp_addpath(char *s) { -- 2.11.4.GIT