mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
w32: Include winsock2.h to silence warnings.
This commit is contained in:
parent
84fd36f8ba
commit
cb0dcc3408
21 changed files with 70 additions and 7 deletions
|
@ -36,7 +36,10 @@
|
|||
#ifdef USE_DNS_PKA
|
||||
#include <sys/types.h>
|
||||
#ifdef _WIN32
|
||||
#include <windows.h>
|
||||
# ifdef HAVE_WINSOCK2_H
|
||||
# include <winsock2.h>
|
||||
# endif
|
||||
# include <windows.h>
|
||||
#else
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/nameser.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue