Ed Schouten a25e1dd4df Replace local prototype of basename() with an inclusion of <libgen.h>.
libiberty currently defines the prototype for basename() itself instead
of using <libgen.h>. It still uses the BSD-style prototype instead of
the POSIX one, meaning that if FreeBSD would switch over to the POSIX
one, you wouldn't be able to use libiberty.h and libgen.h in a single
source file. It turns out that kgdb does this. Patch up libiberty to
just include <libgen.h>.

I'm currently talking to upstream to see whether we can come up with a
more complete solution that could be integrated, but for our
unmaintained copy of GDB in base, let's just apply the simplest
workaround possible.

Reviewed by:	pfg
Differential Revision:	https://reviews.freebsd.org/D6631
2016-05-29 16:10:01 +00:00
..
2015-08-09 05:14:25 +00:00
2016-05-20 17:35:39 +00:00
2016-03-25 22:32:26 +00:00
2015-10-11 17:45:20 +00:00
2016-05-14 08:52:37 +00:00
2016-05-27 03:40:52 +00:00
2016-04-20 17:58:13 +00:00
2016-05-19 03:18:54 +00:00
2016-01-05 05:25:16 +00:00
2016-04-17 21:30:40 +00:00
2016-05-29 01:43:28 +00:00
2015-09-27 07:04:16 +00:00
2016-04-27 07:46:38 +00:00
2016-03-03 15:36:00 +00:00
2016-04-17 21:23:14 +00:00
2015-10-08 11:42:15 +00:00
2015-11-12 03:25:04 +00:00
2015-11-21 09:09:25 +00:00