aboutsummaryrefslogtreecommitdiff
path: root/sim/common/hw-device.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/hw-device.c')
-rw-r--r--sim/common/hw-device.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sim/common/hw-device.c b/sim/common/hw-device.c
index ee1bfad..458ee22 100644
--- a/sim/common/hw-device.c
+++ b/sim/common/hw-device.c
@@ -27,6 +27,10 @@
#include <stdlib.h>
#endif
+#if HAVE_STRING_H
+#include <string.h>
+#endif
+
/* Address methods */
const hw_unit *