1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-04 04:52:47 -05:00

Enable better build-time flexibility over which WinSock to include

[originally from svn r615]
This commit is contained in:
Simon Tatham
2000-09-22 13:16:49 +00:00
parent c0ac8ab9b4
commit e70425dda6
8 changed files with 47 additions and 0 deletions

View File

@ -1,6 +1,12 @@
#include <windows.h>
#include <commctrl.h>
#ifndef AUTO_WINSOCK
#ifdef WINSOCK_TWO
#include <winsock2.h>
#else
#include <winsock.h>
#endif
#endif
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>