aboutsummaryrefslogtreecommitdiff
path: root/libiberty/xatexit.c
diff options
context:
space:
mode:
authorGabriel Dos Reis <gdr@integrable-solutions.net>2005-04-16 00:40:08 +0000
committerGabriel Dos Reis <gdr@gcc.gnu.org>2005-04-16 00:40:08 +0000
commit3c60ae5ab5a37eb374787aebaca0575f6bb76cb8 (patch)
treebbfe27041b455972c399668b84994b1ebafccd5a /libiberty/xatexit.c
parent1a5293c01a21a99fc3c0a026af5d95254b3febb3 (diff)
asprintf.c: Include config.h.
* asprintf.c: Include config.h. * basename.c: Likewise. * fdmatch.c: Likewise. * hex.c: Likewise. * lbasename.c: Likewise. * spaces.c: Likewise. * xatexit.c:Likewise. * configure.ac: Do check declarations for basename, ffs, asprintf and vasprintf for real. * configure: Regenerate. From-SVN: r98218
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"