Solaris <string.h> does not declare 'strdup' if _XOPEN_SOURCE is