diff --git a/lib/roken/strtok_r.c b/lib/roken/strtok_r.c index 66ab0b553..b0d11ffe8 100644 --- a/lib/roken/strtok_r.c +++ b/lib/roken/strtok_r.c @@ -45,6 +45,8 @@ RCSID("$Id$"); #include "roken.h" +#ifndef HAVE_STRTOK_R + char * strtok_r(char *s1, const char *s2, char **lasts) { @@ -65,3 +67,4 @@ strtok_r(char *s1, const char *s2, char **lasts) return ret; } +#endif /* HAVE_STRTOK_R */