#include <string.h> static char *save = 0; char *strtok(char *s, const char *delim) { return strtok_r(s, delim, &save); }