aboutsummaryrefslogtreecommitdiff
path: root/include/libiberty.h
diff options
context:
space:
mode:
authorJason Thorpe <thorpej@netbsd.org>2002-11-24 06:58:20 +0000
committerJason Thorpe <thorpej@netbsd.org>2002-11-24 06:58:20 +0000
commit40fb7a1f93246339ecf4dbb5d76d03c443c6ab06 (patch)
tree2d047d7044d5d71b8b80eb7c50babc23b1394645 /include/libiberty.h
parent0225421b7c765bc999684513699ff324bdd3cf02 (diff)
downloadgdb-40fb7a1f93246339ecf4dbb5d76d03c443c6ab06.zip
gdb-40fb7a1f93246339ecf4dbb5d76d03c443c6ab06.tar.gz
gdb-40fb7a1f93246339ecf4dbb5d76d03c443c6ab06.tar.bz2
* libiberty.h (basename): Add NetBSD to the list.
Diffstat (limited to 'include/libiberty.h')
-rw-r--r--include/libiberty.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libiberty.h b/include/libiberty.h
index c02e035..f9916c5 100644
--- a/include/libiberty.h
+++ b/include/libiberty.h
@@ -74,7 +74,7 @@ extern char **dupargv PARAMS ((char **)) ATTRIBUTE_MALLOC;
to find the declaration so provide a fully prototyped one. If it
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 (__CYGWIN__) || defined (__CYGWIN32__) || defined (HAVE_DECL_BASENAME)
+#if defined (__GNU_LIBRARY__ ) || defined (__linux__) || defined (__FreeBSD__) || defined (__OpenBSD__) || defined(__NetBSD__) || defined (__CYGWIN__) || defined (__CYGWIN32__) || defined (HAVE_DECL_BASENAME)
extern char *basename PARAMS ((const char *));
#else
extern char *basename ();