mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-18 14:17:03 +01: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
@ -34,6 +34,9 @@
|
|||||||
#ifndef __MINGW32__
|
#ifndef __MINGW32__
|
||||||
# include <dlfcn.h>
|
# include <dlfcn.h>
|
||||||
#else
|
#else
|
||||||
|
# ifdef HAVE_WINSOCK2_H
|
||||||
|
# include <winsock2.h> /* needs to be included before windows.h */
|
||||||
|
# endif
|
||||||
# include <windows.h>
|
# include <windows.h>
|
||||||
# include "utf8conv.h"
|
# include "utf8conv.h"
|
||||||
# include "mischelp.h"
|
# include "mischelp.h"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user