* demangle.h: Instead of checking ANSI_PROTOTYPES, just include
authorIan Lance Taylor <ian@airs.com>
Tue, 13 Jan 2004 03:07:16 +0000 (03:07 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 13 Jan 2004 03:07:16 +0000 (03:07 +0000)
"libiberty.h".

include/ChangeLog
include/demangle.h

index 07e0129c8367672814f14440db623b6b25a198e9..e2fa68f30d93ecd74097cf361d9e50b7b1f57bcb 100644 (file)
@@ -1,5 +1,8 @@
 2004-01-12  Ian Lance Taylor  <ian@wasabisystems.com>
 
+       * demangle.h: Instead of checking ANSI_PROTOTYPES, just include
+       "libiberty.h".
+
        * demangle.h: If ANSI_PROTOTYPES is defined, include <stddef.h>.
 
        * demangle.h (enum demangle_component_type): Define.
index dfe4206929405f1f52270f69aef62dfd8b863f1a..6e995e4817d8839c6786c3f8efe7ce557ec3dd4f 100644 (file)
 #if !defined (DEMANGLE_H)
 #define DEMANGLE_H
 
-#include "ansidecl.h"
-
-#ifdef ANSI_PROTOTYPES
-/* Get a definition for size_t.  */
-#include <stddef.h>
-#endif
+#include "libiberty.h"
 
 #ifdef __cplusplus
 extern "C" {