summaryrefslogtreecommitdiff
path: root/zap/src/strlen.c
diff options
context:
space:
mode:
Diffstat (limited to 'zap/src/strlen.c')
-rw-r--r--zap/src/strlen.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/zap/src/strlen.c b/zap/src/strlen.c
index eab12e6..84b7d28 100644
--- a/zap/src/strlen.c
+++ b/zap/src/strlen.c
@@ -6,9 +6,11 @@
#include <zap/priv.h>
+#include <zap/mem.h>
+
#include <stddef.h>
-#if defined(zap_priv_fastimpl)
+#if zap_priv_fastimpl
__asm__ (
".globl zap_strlen\n"