diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 1998-08-26 08:11:47 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 1998-08-26 08:11:47 +0000 |
commit | 789f983ab1d64b8538a7406b32e51e1b1b5ec518 (patch) | |
tree | 16408c3d9cfa526c1ed49849112441367ae78a82 /gcc/system.h | |
parent | f952a23816784c74f96e6d11edc337edacc9ea77 (diff) | |
download | gcc-789f983ab1d64b8538a7406b32e51e1b1b5ec518.zip gcc-789f983ab1d64b8538a7406b32e51e1b1b5ec518.tar.gz gcc-789f983ab1d64b8538a7406b32e51e1b1b5ec518.tar.bz2 |
system.h: Include stdarg.h/varargs.h...
* system.h: Include stdarg.h/varargs.h, make sure they are ordered
correctly with regards to stdio.h.
* calls.c: Remove stdarg.h/varargs.h.
* cccp.c: Likewise.
* cexp.y: Likewise.
* combine.c: Likewise.
* cpperror.c: Likewise.
* cpplib.c: Likewise.
* cpplib.h: Likewise.
* doprint.c: Likewise.
* emit-rtl.c: Likewise.
* final.c: Likewise.
* fix-header.c: Likewise.
* gcc.c: Likewise.
* genattr.c: Likewise.
* genattrtab.c: Likewise.
* gencodes.c: Likewise.
* genconfig.c: Likewise.
* genemit.c: Likewise.
* genextract.c: Likewise.
* genflags.c: Likewise.
* genopinit.c: Likewise.
* genoutput.c: Likewise.
* genpeep.c: Likewise.
* genrecog.c: Likewise.
* mips-tfile.c: Likewise.
* prefix.c: Likewise.
* protoize.c: Likewise.
* regmove.c: Likewise.
* toplev.c: Likewise.
* tree.c: Likewise.
* cp/errfn.c: Remove stdarg.h/varargs.h.
* cp/tree.c: Likewise.
From-SVN: r21997
Diffstat (limited to 'gcc/system.h')
-rw-r--r-- | gcc/system.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/system.h b/gcc/system.h index 27b1fee..e16cd2e 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -7,6 +7,13 @@ #ifndef __GCC_SYSTEM_H__ #define __GCC_SYSTEM_H__ +/* We must include stdarg.h/varargs.h before stdio.h. */ +#ifdef __STDC__ +#include <stdarg.h> +#else +#include <varargs.h> +#endif + #include <stdio.h> /* Define a generic NULL if one hasn't already been defined. */ |