summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJukka Ojanen <jukka.ojanen@linkotec.net>2015-03-13 11:39:58 +0200
committerJukka Ojanen <jukka.ojanen@linkotec.net>2015-03-13 11:39:58 +0200
commit4bd871bea0f657b1cfc8d55603064df05b58e55c (patch)
tree8f00c1c1c14f49ebdb0910f6c10d0ef7acc7dd0b
parent54467a779f68aa24b8bab1c3b04025391d173f1e (diff)
downloadffts-4bd871bea0f657b1cfc8d55603064df05b58e55c.zip
ffts-4bd871bea0f657b1cfc8d55603064df05b58e55c.tar.gz
Add string.h to fix implicit declaration of function 'memcpy'
-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