summaryrefslogtreecommitdiff
path: root/sim/common/sim-arange.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/sim-arange.c')
-rw-r--r--sim/common/sim-arange.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sim/common/sim-arange.c b/sim/common/sim-arange.c
index d9955e687e5..fc08113a468 100644
--- a/sim/common/sim-arange.c
+++ b/sim/common/sim-arange.c
@@ -29,6 +29,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include <stdlib.h>
#endif
+#ifdef HAVE_STRING_H
+#include <string.h>
+#endif
+
#define DEFINE_INLINE_P (! defined (SIM_ARANGE_C_INCLUDED))
#define DEFINE_NON_INLINE_P defined (SIM_ARANGE_C_INCLUDED)