aboutsummaryrefslogtreecommitdiff
path: root/libiberty/objalloc.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2005-07-09 13:05:49 +0000
committerDJ Delorie <dj@redhat.com>2005-07-09 13:05:49 +0000
commit460565cb9d6df815a25b3b30ea026f3b3e9e89f7 (patch)
tree1d02f6649186004c2c017ed8838e9dc9fed57c39 /libiberty/objalloc.c
parentc94c2c4ee441eb123bb9ad0ebe106fc5201b3933 (diff)
downloadgdb-460565cb9d6df815a25b3b30ea026f3b3e9e89f7.zip
gdb-460565cb9d6df815a25b3b30ea026f3b3e9e89f7.tar.gz
gdb-460565cb9d6df815a25b3b30ea026f3b3e9e89f7.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty/objalloc.c')
-rw-r--r--libiberty/objalloc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libiberty/objalloc.c b/libiberty/objalloc.c
index 3ddac2c..d3d2d16 100644
--- a/libiberty/objalloc.c
+++ b/libiberty/objalloc.c
@@ -30,8 +30,10 @@ Boston, MA 02110-1301, USA. */
#include <unixlib.h>
#else
+#ifdef ANSI_PROTOTYPES
/* Get a definition for size_t. */
#include <stddef.h>
+#endif
#ifdef HAVE_STDLIB_H
#include <stdlib.h>