mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +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__
|
||||
# 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…
x
Reference in New Issue
Block a user