aboutsummaryrefslogtreecommitdiff
path: root/sim/common/hw-events.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/hw-events.c')
-rw-r--r--sim/common/hw-events.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sim/common/hw-events.c b/sim/common/hw-events.c
index e652336..f78be2a 100644
--- a/sim/common/hw-events.c
+++ b/sim/common/hw-events.c
@@ -23,6 +23,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "sim-events.h"
+#if HAVE_STRING_H
+#include <string.h>
+#endif
/* The hw-events object is implemented using sim-events */