diff options
author | Ian Lance Taylor <ian@wasabisystems.com> | 2004-01-13 01:49:16 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2004-01-13 01:49:16 +0000 |
commit | e4a32afbe15212baa1f5eab9d0315077ca005a9d (patch) | |
tree | 222fb0b8d1960e661afbb8ebdf9630718508a709 /include | |
parent | 0bb03c11051f84627107b14515f6ded49c6fa45b (diff) | |
download | gcc-e4a32afbe15212baa1f5eab9d0315077ca005a9d.zip gcc-e4a32afbe15212baa1f5eab9d0315077ca005a9d.tar.gz gcc-e4a32afbe15212baa1f5eab9d0315077ca005a9d.tar.bz2 |
* demangle.h: If ANSI_PROTOTYPES is defined, include <stddef.h>.
From-SVN: r75783
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 2 | ||||
-rw-r--r-- | include/demangle.h | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 2e291cc..07e0129 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,5 +1,7 @@ 2004-01-12 Ian Lance Taylor <ian@wasabisystems.com> + * demangle.h: If ANSI_PROTOTYPES is defined, include <stddef.h>. + * 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 c3fdb03..dfe4206 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 <stddef.h> +#endif + #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ |