aboutsummaryrefslogtreecommitdiff
path: root/libiberty/basename.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/basename.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/basename.c')
-rw-r--r--libiberty/basename.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libiberty/basename.c b/libiberty/basename.c
index 037a906..0f2c069 100644
--- a/libiberty/basename.c
+++ b/libiberty/basename.c
@@ -12,6 +12,9 @@ Behavior is undefined if the pathname ends in a directory separator.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#include "ansidecl.h"
#include "libiberty.h"
#include "safe-ctype.h"