summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sherrill <joel@oarcorp.com>2008-11-26 14:24:12 +0000
committerJoel Sherrill <joel@oarcorp.com>2008-11-26 14:24:12 +0000
commit1be1fadf973e21bc5138c04a7bf0ec6119010d21 (patch)
tree10b593a867573fcf89dee6b4fbe8bee513982354
parent681957f170e6a8dfa3c1bb4b5f797fe6878b426b (diff)
downloadgdb-1be1fadf973e21bc5138c04a7bf0ec6119010d21.tar.gz
2008-11-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* arminit.c, iwmmxt.c: Include <string.h> to eliminate warning.
-rw-r--r--sim/arm/ChangeLog4
-rw-r--r--sim/arm/arminit.c2
-rw-r--r--sim/arm/iwmmxt.c2
3 files changed, 8 insertions, 0 deletions
diff --git a/sim/arm/ChangeLog b/sim/arm/ChangeLog
index dff851574ea..e00cf85452b 100644
--- a/sim/arm/ChangeLog
+++ b/sim/arm/ChangeLog
@@ -1,3 +1,7 @@
+2008-11-24 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * arminit.c, iwmmxt.c: Include <string.h> to
+ eliminate warning.
2008-07-11 Hans-Peter Nilsson <hp@axis.com>
* configure: Regenerate to track ../common/common.m4 changes.
diff --git a/sim/arm/arminit.c b/sim/arm/arminit.c
index df01570fc0b..c84fb5cce44 100644
--- a/sim/arm/arminit.c
+++ b/sim/arm/arminit.c
@@ -15,6 +15,8 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
+#include <string.h>
+
#include "armdefs.h"
#include "armemu.h"
#include "dbg_rdi.h"
diff --git a/sim/arm/iwmmxt.c b/sim/arm/iwmmxt.c
index 6a26f14e62d..827b8ac6084 100644
--- a/sim/arm/iwmmxt.c
+++ b/sim/arm/iwmmxt.c
@@ -15,6 +15,8 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
+#include <string.h>
+
#include "armdefs.h"
#include "armos.h"
#include "armemu.h"