Use winsock2.2

This commit is contained in:
Erik Ekman 2009-02-21 10:07:10 +00:00
parent 438041e182
commit 844342e1c1
3 changed files with 3 additions and 3 deletions

View file

@ -53,7 +53,7 @@
#include "version.h"
#ifdef WINDOWS32
WORD req_version = MAKEWORD(1, 1);
WORD req_version = MAKEWORD(2, 2);
WSADATA wsa_data;
#endif

View file

@ -61,7 +61,7 @@
#include "version.h"
#ifdef WINDOWS32
WORD req_version = MAKEWORD(1, 1);
WORD req_version = MAKEWORD(2, 2);
WSADATA wsa_data;
#endif

View file

@ -21,7 +21,7 @@ typedef unsigned int in_addr_t;
#include <windows.h>
#include <windns.h>
#include <winsock.h>
#include <winsock2.h>
#define T_A DNS_TYPE_A
#define T_NS DNS_TYPE_NS