From: Ian Lance Taylor Date: Tue, 13 Jan 2004 03:07:16 +0000 (+0000) Subject: * demangle.h: Instead of checking ANSI_PROTOTYPES, just include X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=062054c537b1fe5a53cf2eb2e6fbfe3080ce11fa;p=binutils-gdb.git * demangle.h: Instead of checking ANSI_PROTOTYPES, just include "libiberty.h". --- 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" {