summaryrefslogtreecommitdiff
path: root/util/strsep.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/strsep.c')
-rw-r--r--util/strsep.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/strsep.c b/util/strsep.c
index e54903ce..e3592c2a 100644
--- a/util/strsep.c
+++ b/util/strsep.c
@@ -1,3 +1,5 @@
+#ifdef NEED_STRSEP
+
#include <string.h>
char *strsep(char **stringp, const char *delim)
@@ -9,3 +11,5 @@ char *strsep(char **stringp, const char *delim)
return ret;
}
+#endif
+