From: Ian Lance Taylor Date: Tue, 13 Jan 2004 03:06:13 +0000 (+0000) Subject: demangle.h: Instead of checking ANSI_PROTOTYPES, just include "libiberty.h". X-Git-Tag: releases/gcc-3.4.0~1040 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d051dc88efd3433736815e49ddca42ad36aac9ba;p=thirdparty%2Fgcc.git demangle.h: Instead of checking ANSI_PROTOTYPES, just include "libiberty.h". 2004-01-12 Ian Lance Taylor * demangle.h: Instead of checking ANSI_PROTOTYPES, just include "libiberty.h". From-SVN: r75789 --- diff --git a/include/ChangeLog b/include/ChangeLog index 07e0129c8367..e2fa68f30d93 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,5 +1,8 @@ 2004-01-12 Ian Lance Taylor + * demangle.h: Instead of checking ANSI_PROTOTYPES, just include + "libiberty.h". + * demangle.h: If ANSI_PROTOTYPES is defined, include . * demangle.h (enum demangle_component_type): Define. diff --git a/include/demangle.h b/include/demangle.h index dfe420692940..6e995e4817d8 100644 --- a/include/demangle.h +++ b/include/demangle.h @@ -21,12 +21,7 @@ #if !defined (DEMANGLE_H) #define DEMANGLE_H -#include "ansidecl.h" - -#ifdef ANSI_PROTOTYPES -/* Get a definition for size_t. */ -#include -#endif +#include "libiberty.h" #ifdef __cplusplus extern "C" {