summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/codegen_arm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/codegen_arm.h b/src/codegen_arm.h
index 7508f57..3d146da 100644
--- a/src/codegen_arm.h
+++ b/src/codegen_arm.h
@@ -36,6 +36,10 @@
#include "neon.h"
+#ifdef HAVE_STRING_H
+#include <string.h>
+#endif
+
uint32_t BL(void *pos, void *target) {
return 0xeb000000 | (((target - pos) / 4) & 0xffffff);
}
OpenPOWER on IntegriCloud