mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
w32: Prepare for the case gcrypt.h will not include winsock2.h.
* common/dynload.h: Include specific headers only. * common/exechelp-w32.c: Include <windows.h>. * common/gettime.c: Likewise. * common/utf8conv.c: Likewise. * tests/gpgscm/ffi.c: Likewise. * tools/gpgconf.c: Likewise. * configure.ac: Check winsock2.h, removing gl_HEADER_SYS_SOCKET. -- GnuPG-bug-id: 5731 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
61ac580a20
commit
e08225030d
7 changed files with 21 additions and 2 deletions
|
@ -55,6 +55,10 @@
|
|||
#include "stringhelp.h"
|
||||
#include "utf8conv.h"
|
||||
|
||||
#ifdef HAVE_W32_SYSTEM
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
#ifndef MB_LEN_MAX
|
||||
#define MB_LEN_MAX 16
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue