summaryrefslogtreecommitdiff
path: root/gcc/cpperror.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1998-03-30 12:05:54 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1998-03-30 12:05:54 +0000
commit1486870d76c8ec5ab28664fa7dcadd8ccc5e9723 (patch)
tree89dd65e70bf50b33a26d779913cd79c789b77b0b /gcc/cpperror.c
parent70f75771561269ae78629d30ec70f44afc67d5b0 (diff)
downloadgcc-1486870d76c8ec5ab28664fa7dcadd8ccc5e9723.tar.gz
More cutover to system.h:
* Makefile.in (cppalloc.o, cpperror.o, cppexp.o, cpphash.o, cpplib.o, cppmain.o, fix-header.o, gcov.o, gen-protos.o, gengenrtl.o, halfpic.o, hash.o, scan-decls.o, scan.o): Depend on system.h. * cpphash.c: Include config.h. * cppalloc.c: Include system.h. Add parameters to various function prototypes. * cpperror.c: Likewise. * cppexp.c: Likewise. * cpphash.c: Likewise. * cpplib.c: Likewise. * cppmain.c: Likewise. * fix-header.c: Likewise. * gcov.c: Likewise. * gen-protos.c: Likewise. * gengenrtl.c: Likewise. * halfpic.c: Likewise. * hash.c: Likewise. * scan-decls.c: Likewise. * scan.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18911 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cpperror.c')
-rw-r--r--gcc/cpperror.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/cpperror.c b/gcc/cpperror.c
index e03deb4fce3..44bd75da455 100644
--- a/gcc/cpperror.c
+++ b/gcc/cpperror.c
@@ -24,10 +24,12 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#ifndef EMACS
#include "config.h"
+#include "system.h"
+#else
+#include <stdio.h>
#endif /* not EMACS */
#include "cpplib.h"
-#include <stdio.h>
/* Print the file names and line numbers of the #include
commands which led to the current file. */