aboutsummaryrefslogtreecommitdiff
path: root/libiberty/lbasename.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/lbasename.c
parent1a5293c01a21a99fc3c0a026af5d95254b3febb3 (diff)
downloadgcc-3c60ae5ab5a37eb374787aebaca0575f6bb76cb8.zip
gcc-3c60ae5ab5a37eb374787aebaca0575f6bb76cb8.tar.gz
gcc-3c60ae5ab5a37eb374787aebaca0575f6bb76cb8.tar.bz2
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/lbasename.c')
-rw-r--r--libiberty/lbasename.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libiberty/lbasename.c b/libiberty/lbasename.c
index 4afe890..45858c8 100644
--- a/libiberty/lbasename.c
+++ b/libiberty/lbasename.c
@@ -37,6 +37,9 @@ and a path ending in @code{/} returns the empty string after it.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#include "ansidecl.h"
#include "libiberty.h"
#include "safe-ctype.h"