aboutsummaryrefslogtreecommitdiff
path: root/sim/d10v
diff options
context:
space:
mode:
Diffstat (limited to 'sim/d10v')
-rw-r--r--sim/d10v/ChangeLog4
-rw-r--r--sim/d10v/simops.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/sim/d10v/ChangeLog b/sim/d10v/ChangeLog
index 320eb98..9c42d35 100644
--- a/sim/d10v/ChangeLog
+++ b/sim/d10v/ChangeLog
@@ -1,3 +1,7 @@
+2002-11-13 Andrew Cagney <cagney@redhat.com>
+
+ * simops.c: Include <string.h>.
+
2002-06-17 Andrew Cagney <cagney@redhat.com>
* d10v_sim.h (SET_PSW_BIT): Add cast to avoid inverting an enum.
diff --git a/sim/d10v/simops.c b/sim/d10v/simops.c
index 1c0ecfe..fbffa4d 100644
--- a/sim/d10v/simops.c
+++ b/sim/d10v/simops.c
@@ -7,6 +7,9 @@
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
+#ifdef HAVE_STRING_H
+#include <string.h>
+#endif
#include "d10v_sim.h"
#include "simops.h"