summaryrefslogtreecommitdiff
path: root/libiberty/xatexit.c
diff options
context:
space:
mode:
Diffstat (limited to 'libiberty/xatexit.c')
-rw-r--r--libiberty/xatexit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libiberty/xatexit.c b/libiberty/xatexit.c
index f29338a9f2a..6fdad9ed806 100644
--- a/libiberty/xatexit.c
+++ b/libiberty/xatexit.c
@@ -22,6 +22,9 @@ failure. If you use @code{xatexit} to register functions, you must use
/* Adapted from newlib/libc/stdlib/{,at}exit.[ch].
If you use xatexit, you must call xexit instead of exit. */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#include "ansidecl.h"
#include "libiberty.h"