mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
w32: Avoid warning about not including winsock2.h after windows.h
* common/dynload.h: Include winsock2.h first.
This commit is contained in:
parent
10db566489
commit
dfc01118ce
1 changed files with 3 additions and 0 deletions
|
@ -34,6 +34,9 @@
|
|||
#ifndef __MINGW32__
|
||||
# include <dlfcn.h>
|
||||
#else
|
||||
# ifdef HAVE_WINSOCK2_H
|
||||
# include <winsock2.h> /* needs to be included before windows.h */
|
||||
# endif
|
||||
# include <windows.h>
|
||||
# include "utf8conv.h"
|
||||
# include "mischelp.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue