diff options
| author | Ed Schouten <ed@FreeBSD.org> | 2016-05-29 16:10:01 +0000 |
|---|---|---|
| committer | Ed Schouten <ed@FreeBSD.org> | 2016-05-29 16:10:01 +0000 |
| commit | a25e1dd4dfeb0f5683bf7bc12bea2f52928b086c (patch) | |
| tree | 8300298424ddd233669a6ae37cd1b03b5e2c2d02 /contrib/binutils | |
| parent | 9f790a1756e35c932a96363a830322af42f757dc (diff) | |
Notes
Diffstat (limited to 'contrib/binutils')
| -rw-r--r-- | contrib/binutils/include/libiberty.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/binutils/include/libiberty.h b/contrib/binutils/include/libiberty.h index 4e697343fb6f9..555f5c7ec574a 100644 --- a/contrib/binutils/include/libiberty.h +++ b/contrib/binutils/include/libiberty.h @@ -102,7 +102,7 @@ extern int writeargv PARAMS ((char **, FILE *)); is 1, we found it so don't provide any declaration at all. */ #if !HAVE_DECL_BASENAME #if defined (__GNU_LIBRARY__ ) || defined (__linux__) || defined (__FreeBSD__) || defined (__OpenBSD__) || defined(__NetBSD__) || defined (__CYGWIN__) || defined (__CYGWIN32__) || defined (__MINGW32__) || defined (HAVE_DECL_BASENAME) -extern char *basename (const char *); +#include <libgen.h> #else /* Do not allow basename to be used if there is no prototype seen. We either need to use the above prototype or have one from |
