aboutsummaryrefslogtreecommitdiff
path: root/libiberty/objalloc.c
diff options
context:
space:
mode:
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>