aboutsummaryrefslogtreecommitdiff
path: root/libiberty/xexit.c
diff options
context:
space:
mode:
Diffstat (limited to 'libiberty/xexit.c')
-rw-r--r--libiberty/xexit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libiberty/xexit.c b/libiberty/xexit.c
index 431bbe0..7aa52ac 100644
--- a/libiberty/xexit.c
+++ b/libiberty/xexit.c
@@ -21,6 +21,9 @@ Boston, MA 02111-1307, USA. */
#include "libiberty.h"
#include <stdio.h>
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
/* This variable is set by xatexit if it is called. This way, xmalloc
doesn't drag xatexit into the link. */