aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2004-01-13 03:07:16 +0000
committerIan Lance Taylor <ian@airs.com>2004-01-13 03:07:16 +0000
commit062054c537b1fe5a53cf2eb2e6fbfe3080ce11fa (patch)
tree233cb48965930db2cbb15804022d787f7c332e4a /include
parent9850ebe2d9895594d725b5f61e58f7c724cf4d83 (diff)
downloadgdb-062054c537b1fe5a53cf2eb2e6fbfe3080ce11fa.zip
gdb-062054c537b1fe5a53cf2eb2e6fbfe3080ce11fa.tar.gz
gdb-062054c537b1fe5a53cf2eb2e6fbfe3080ce11fa.tar.bz2
* demangle.h: Instead of checking ANSI_PROTOTYPES, just include
"libiberty.h".
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog3
-rw-r--r--include/demangle.h7
2 files changed, 4 insertions, 6 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 07e0129..e2fa68f 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -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.
diff --git a/include/demangle.h b/include/demangle.h
index dfe4206..6e995e4 100644
--- a/include/demangle.h
+++ b/include/demangle.h
@@ -21,12 +21,7 @@
#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" {