fix missing declaration of strcpy in implementation of tmpnam