diff options
author | Ryan Anderson <ryan@michonline.com> | 2003-05-27 08:57:28 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 21:00:45 -0700 |
commit | a2a8b9030ee009e83219c3ba783a8108cfca7b28 (patch) | |
tree | 862676a3a04c8bc871d52eecc72074c7ab522100 /pre-process.c | |
parent | Fix enums. We can't turn _all_ enums into values, only the actual (diff) | |
download | sparse-a2a8b9030ee009e83219c3ba783a8108cfca7b28.tar.gz sparse-a2a8b9030ee009e83219c3ba783a8108cfca7b28.tar.bz2 sparse-a2a8b9030ee009e83219c3ba783a8108cfca7b28.zip |
[PATCH] Get gcc internal header files path from gcc itself
This update (hopefully) will allow 'check' to find the appropriate, gcc-local
include headers (dependent, of course, upon the system it was built on)
It's still a hack, but at least it will work in a few more places.
Diffstat (limited to 'pre-process.c')
-rw-r--r-- | pre-process.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pre-process.c b/pre-process.c index ce00a86..173904d 100644 --- a/pre-process.c +++ b/pre-process.c @@ -18,6 +18,7 @@ #include <fcntl.h> #include <limits.h> +#include "pre-process.h" #include "lib.h" #include "parse.h" #include "token.h" @@ -45,8 +46,7 @@ const char *sys_includepath[] = { }; const char *gcc_includepath[] = { - "/usr/lib/gcc-lib/i386-redhat-linux/3.2.1/include", - "/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include", + GCC_INTERNAL_INCLUDE, NULL }; |