aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sim/common/ChangeLog4
-rw-r--r--sim/common/gentmap.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index 0fdef42..7acc03c 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,3 +1,7 @@
+2015-02-13 Chen Gang <gang.chen.5i5j@gmail.com>
+
+ * gentmap.c: Include "string.h".
+
2015-01-07 Joel Brobecker <brobecker@adacore.com>
* aclocal.m4, configure: Regenerate using automake 1.11.1.
diff --git a/sim/common/gentmap.c b/sim/common/gentmap.c
index 7efc6d3..1769c53 100644
--- a/sim/common/gentmap.c
+++ b/sim/common/gentmap.c
@@ -2,6 +2,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
struct tdefs {
char *symbol;