summaryrefslogtreecommitdiff
path: root/include/libbb.h
diff options
context:
space:
mode:
authorEric Andersen2002-04-13 13:02:03 +0000
committerEric Andersen2002-04-13 13:02:03 +0000
commitdb7d5fca5f6a98a68a16bbea7cd71593791c43dc (patch)
tree6715cd264db913801c4862512c012d7a0e5a903a /include/libbb.h
parent4c9b68f0e013b0b7554a3278e078177f955d39f4 (diff)
downloadbusybox-db7d5fca5f6a98a68a16bbea7cd71593791c43dc.zip
busybox-db7d5fca5f6a98a68a16bbea7cd71593791c43dc.tar.gz
Stupid gcc always includes its own builtin strlen()...
Diffstat (limited to 'include/libbb.h')
-rw-r--r--include/libbb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index cf593d6..40cff8b 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -293,4 +293,8 @@ int is_in_ino_dev_hashtable(const struct stat *statbuf, char **name);
void add_to_ino_dev_hashtable(const struct stat *statbuf, const char *name);
void reset_ino_dev_hashtable(void);
+/* Stupid gcc always includes its own builtin strlen()... */
+extern size_t xstrlen(const char *string);
+#define strlen(x) xstrlen(x)
+
#endif /* __LIBCONFIG_H__ */