From e4a32afbe15212baa1f5eab9d0315077ca005a9d Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 13 Jan 2004 01:49:16 +0000 Subject: [PATCH] * demangle.h: If ANSI_PROTOTYPES is defined, include . From-SVN: r75783 --- include/ChangeLog | 2 ++ include/demangle.h | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/include/ChangeLog b/include/ChangeLog index 2e291cc6216..07e0129c836 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,5 +1,7 @@ 2004-01-12 Ian Lance Taylor + * demangle.h: If ANSI_PROTOTYPES is defined, include . + * demangle.h (enum demangle_component_type): Define. (struct demangle_operator_info): Declare. (struct demangle_builtin_type_info): Declare. diff --git a/include/demangle.h b/include/demangle.h index c3fdb036d53..dfe42069294 100644 --- a/include/demangle.h +++ b/include/demangle.h @@ -23,6 +23,11 @@ #include "ansidecl.h" +#ifdef ANSI_PROTOTYPES +/* Get a definition for size_t. */ +#include +#endif + #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ -- 2.11.4.GIT