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
|
@ -22,6 +22,9 @@
|
|||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#ifdef _WIN32
|
||||
# ifdef HAVE_WINSOCK2_H
|
||||
# include <winsock2.h>
|
||||
# endif
|
||||
# include <windows.h>
|
||||
# ifndef VER_PLATFORM_WIN32_WINDOWS
|
||||
# define VER_PLATFORM_WIN32_WINDOWS 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue