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
|
@ -32,6 +32,9 @@
|
|||
|
||||
#ifdef USE_DNS_SRV
|
||||
# ifdef _WIN32
|
||||
# ifdef HAVE_WINSOCK2_H
|
||||
# include <winsock2.h>
|
||||
# endif
|
||||
# include <windows.h>
|
||||
# else
|
||||
# include <netinet/in.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue