From d051dc88efd3433736815e49ddca42ad36aac9ba Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 13 Jan 2004 03:06:13 +0000 Subject: [PATCH] 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 --- include/ChangeLog | 3 +++ include/demangle.h | 7 +------ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/include/ChangeLog b/include/ChangeLog index 07e0129c836..e2fa68f30d9 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 dfe42069294..6e995e4817d 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" {