From 4bd871bea0f657b1cfc8d55603064df05b58e55c Mon Sep 17 00:00:00 2001 From: Jukka Ojanen Date: Fri, 13 Mar 2015 11:39:58 +0200 Subject: Add string.h to fix implicit declaration of function 'memcpy' --- src/codegen_arm.h | 4 ++++ 1 file changed, 4 insertions(+) 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 +#endif + uint32_t BL(void *pos, void *target) { return 0xeb000000 | (((target - pos) / 4) & 0xffffff); } -- cgit v1.1