summaryrefslogtreecommitdiff
path: root/sysdeps/generic/strtok.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/strtok.c')
-rw-r--r--sysdeps/generic/strtok.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/generic/strtok.c b/sysdeps/generic/strtok.c
index 5eb0ee6f07..b366653cb3 100644
--- a/sysdeps/generic/strtok.c
+++ b/sysdeps/generic/strtok.c
@@ -21,6 +21,8 @@
static char *olds = NULL;
+#undef strtok
+
/* Parse S into tokens separated by characters in DELIM.
If S is NULL, the last string strtok() was called with is
used. For example: