OSDN Git Service

2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
authorMichael Chastain <mec.gnu@mindspring.com>
Thu, 5 Aug 2004 07:44:47 +0000 (07:44 +0000)
committerMichael Chastain <mec.gnu@mindspring.com>
Thu, 5 Aug 2004 07:44:47 +0000 (07:44 +0000)
* gdb.base/gcore.c: Include <string.h>.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/gcore.c

index 5ec61d1..d01a8b9 100644 (file)
@@ -1,5 +1,9 @@
 2004-08-05  Michael Chastain  <mec.gnu@mindspring.com>
 
+       * gdb.base/gcore.c: Include <string.h>.
+
+2004-08-05  Michael Chastain  <mec.gnu@mindspring.com>
+
        * gdb.base/gcore.c: Add copyright notice.
 
 2004-08-05  Michael Chastain  <mec.gnu@mindspring.com>
index 596204e..24de8c7 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright 2002 Free Software Foundation, Inc.
+/* Copyright 2002, 2004 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -22,6 +22,7 @@
  */
 
 #include <stdlib.h>
+#include <string.h>
 
 int extern_array[4] = {1, 2, 3, 4};
 static int static_array[4] = {5, 6, 7, 8};