summaryrefslogtreecommitdiff
path: root/libbb/xfuncs.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/xfuncs.c')
-rw-r--r--libbb/xfuncs.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libbb/xfuncs.c b/libbb/xfuncs.c
index 57c6980..acd4d69 100644
--- a/libbb/xfuncs.c
+++ b/libbb/xfuncs.c
@@ -85,6 +85,12 @@ FILE *xfopen(const char *path, const char *mode)
return fp;
}
+/* Stupid gcc always includes its own builtin strlen()... */
+size_t xstrlen(const char *string)
+{
+ return(strlen(string));
+}
+
/* END CODE */
/*
Local Variables: