Have wingss.c include <windows.h> by way of putty.h rather than