This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Include "gdb_string.h"


Without this patch, I get compilation warnings about memcpy() being
undeclared.

Checked in as obvious.

Mark


Index: ChangeLog
from  Mark Kettenis  <kettenis@gnu.org>

	* sparcnbsd-tdep.c: Include "gdb_string.h".

Index: sparcnbsd-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/sparcnbsd-tdep.c,v
retrieving revision 1.3
diff -u -p -r1.3 sparcnbsd-tdep.c
--- sparcnbsd-tdep.c 21 Dec 2002 19:58:07 -0000 1.3
+++ sparcnbsd-tdep.c 24 May 2003 12:43:24 -0000
@@ -1,5 +1,5 @@
 /* Target-dependent code for SPARC systems running NetBSD.
-   Copyright 2002 Free Software Foundation, Inc.
+   Copyright 2002, 2003 Free Software Foundation, Inc.
    Contributed by Wasabi Systems, Inc.
 
    This file is part of GDB.
@@ -25,6 +25,8 @@
 #include "target.h"
 #include "value.h"
 #include "osabi.h"
+
+#include "gdb_string.h"
 
 #include "sparcnbsd-tdep.h"
 #include "nbsd-tdep.h"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]