#ifndef _REENT_ONLY #include #include #include char * strdup (const char *str) { return _strdup_r (_REENT, str); } #endif /* !_REENT_ONLY */