w32: Avoid warning about not including winsock2.h after windows.h

* common/dynload.h: Include winsock2.h first.
This commit is contained in:
Werner Koch 2022-06-03 15:00:03 +02:00
parent 10db566489
commit dfc01118ce
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B
1 changed files with 3 additions and 0 deletions

View File

@ -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"