fix compile error

include <string.h>