summaryrefslogtreecommitdiff
path: root/gcc/cpperror.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1998-03-30 12:05:54 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1998-03-30 12:05:54 +0000
commitb04cd50711e40415a169d0f157e4ab15c5344384 (patch)
tree89dd65e70bf50b33a26d779913cd79c789b77b0b /gcc/cpperror.c
parent1aa5d112c8397e861eea2cbfba02c7e8f1ffae97 (diff)
downloadgcc-b04cd50711e40415a169d0f157e4ab15c5344384.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. From-SVN: r18911
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. */