OSDN Git Service

* demangle.h: If ANSI_PROTOTYPES is defined, include <stddef.h>.
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Jan 2004 01:49:16 +0000 (01:49 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Jan 2004 01:49:16 +0000 (01:49 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75783 138bc75d-0d04-0410-961f-82ee72b054a4

include/ChangeLog
include/demangle.h

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