summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libbb/xfuncs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libbb/xfuncs.c b/libbb/xfuncs.c
index acd4d69..869c04a 100644
--- a/libbb/xfuncs.c
+++ b/libbb/xfuncs.c
@@ -86,6 +86,7 @@ FILE *xfopen(const char *path, const char *mode)
}
/* Stupid gcc always includes its own builtin strlen()... */
+#undef strlen
size_t xstrlen(const char *string)
{
return(strlen(string));