summaryrefslogtreecommitdiff
path: root/include/demangle.h
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2004-01-13 01:49:16 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2004-01-13 01:49:16 +0000
commita2ebbb48809073ff0ad025e7ab625bf9c3ec5b0a (patch)
tree222fb0b8d1960e661afbb8ebdf9630718508a709 /include/demangle.h
parentf446ac8cc3c2b548bc714a4a358301c5effee212 (diff)
downloadgcc-a2ebbb48809073ff0ad025e7ab625bf9c3ec5b0a.tar.gz
* demangle.h: If ANSI_PROTOTYPES is defined, include <stddef.h>.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75783 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'include/demangle.h')
-rw-r--r--include/demangle.h5
1 files changed, 5 insertions, 0 deletions
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 <stddef.h>
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */