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
|
@ -81,6 +81,9 @@ time_t timegm (struct tm *tm);
|
|||
# include <sys/socket.h>
|
||||
# include <sys/un.h>
|
||||
#else
|
||||
# ifdef HAVE_WINSOCK2_H
|
||||
# include <winsock2.h>
|
||||
# endif
|
||||
# include <windows.h>
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue