mirror of git://gcc.gnu.org/git/gcc.git
objalloc.c, [...]: Include "config.h" before "ansidecl.h" to avoid redeclaration errors with...
* objalloc.c, strsignal.c, xstrerror.c: Include "config.h" before "ansidecl.h" to avoid redeclaration errors with native compilers. * regex.c: Protect config.h from multiple inclusion. From-SVN: r90954
This commit is contained in:
parent
edca1aa6ec
commit
2d59754f6a
|
@ -1,3 +1,9 @@
|
||||||
|
2004-11-19 Roger Sayle <roger@eyesopen.com>
|
||||||
|
|
||||||
|
* objalloc.c, strsignal.c, xstrerror.c: Include "config.h" before
|
||||||
|
"ansidecl.h" to avoid redeclaration errors with native compilers.
|
||||||
|
* regex.c: Protect config.h from multiple inclusion.
|
||||||
|
|
||||||
2004-11-12 Mike Stump <mrs@apple.com>
|
2004-11-12 Mike Stump <mrs@apple.com>
|
||||||
|
|
||||||
* Makefile.in (libiberty.html): Fix html generation.
|
* Makefile.in (libiberty.html): Fix html generation.
|
||||||
|
|
|
@ -17,8 +17,8 @@ along with this program; if not, write to the Free Software
|
||||||
Foundation, 59 Temple Place - Suite 330,
|
Foundation, 59 Temple Place - Suite 330,
|
||||||
Boston, MA 02111-1307, USA. */
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#include "ansidecl.h"
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
#include "ansidecl.h"
|
||||||
|
|
||||||
#include "objalloc.h"
|
#include "objalloc.h"
|
||||||
|
|
||||||
|
|
|
@ -32,9 +32,11 @@
|
||||||
#undef _GNU_SOURCE
|
#undef _GNU_SOURCE
|
||||||
#define _GNU_SOURCE
|
#define _GNU_SOURCE
|
||||||
|
|
||||||
|
#ifndef INSIDE_RECURSION
|
||||||
# ifdef HAVE_CONFIG_H
|
# ifdef HAVE_CONFIG_H
|
||||||
# include <config.h>
|
# include <config.h>
|
||||||
# endif
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <ansidecl.h>
|
#include <ansidecl.h>
|
||||||
|
|
||||||
|
|
|
@ -2,11 +2,10 @@
|
||||||
Written by Fred Fish. fnf@cygnus.com
|
Written by Fred Fish. fnf@cygnus.com
|
||||||
This file is in the public domain. */
|
This file is in the public domain. */
|
||||||
|
|
||||||
|
#include "config.h"
|
||||||
#include "ansidecl.h"
|
#include "ansidecl.h"
|
||||||
#include "libiberty.h"
|
#include "libiberty.h"
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
/* We need to declare sys_siglist, because even if the system provides
|
/* We need to declare sys_siglist, because even if the system provides
|
||||||
it we can't assume that it is declared in <signal.h> (for example,
|
it we can't assume that it is declared in <signal.h> (for example,
|
||||||
SunOS provides sys_siglist, but it does not declare it in any
|
SunOS provides sys_siglist, but it does not declare it in any
|
||||||
|
|
|
@ -15,8 +15,8 @@ will never return a @code{NULL} pointer.
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include "libiberty.h"
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
#include "libiberty.h"
|
||||||
|
|
||||||
#ifdef VMS
|
#ifdef VMS
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
Loading…
Reference in New Issue