* demangle.h: If ANSI_PROTOTYPES is defined, include <stddef.h>.
authorIan Lance Taylor <ian@wasabisystems.com>
Tue, 13 Jan 2004 01:49:16 +0000 (01:49 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 13 Jan 2004 01:49:16 +0000 (01:49 +0000)
From-SVN: r75783

include/ChangeLog
include/demangle.h

index 2e291cc6216f5b6eafe1a5aa181bc1a343cfc609..07e0129c8367672814f14440db623b6b25a198e9 100644 (file)
@@ -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.
index c3fdb036d536bc184c5179fe9360b55214d9a634..dfe4206929405f1f52270f69aef62dfd8b863f1a 100644 (file)
 
 #include "ansidecl.h"
 
+#ifdef ANSI_PROTOTYPES
+/* Get a definition for size_t.  */
+#include <stddef.h>
+#endif
+
 #ifdef __cplusplus
 extern "C" {
 #endif /* __cplusplus */