Include config.h and wine/port.h in files that use snprintf.