diff options
Diffstat (limited to 'gnu/usr.bin/gdb/source.c')
-rw-r--r-- | gnu/usr.bin/gdb/source.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/gdb/source.c b/gnu/usr.bin/gdb/source.c index d9ae20f6c236..bb65e1ca9483 100644 --- a/gnu/usr.bin/gdb/source.c +++ b/gnu/usr.bin/gdb/source.c @@ -30,9 +30,10 @@ along with GDB; see the file COPYING. If not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include <stdio.h> +#include <string.h> #include "defs.h" -#include "symtab.h" #include "param.h" +#include "symtab.h" #ifdef USG #include <sys/types.h> @@ -188,7 +189,6 @@ directory_command (dirname, from_tty) do { - extern char *index (); char *name = dirname; register char *p; struct stat st; |