From 334b94898112b5d2c7c97ff0496b9a67b3de0d26 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Thu, 8 Mar 2018 14:08:51 +0900 Subject: gpg: Fix build on Windows. -- WIN32_LEAN_AND_MEAN is required to avoid definitions of grp1, grp2, and grp3 in dlgs.h, which is included by windows.h. Fixes-commit: fd595c9d3642dba437fbe0f6e25d7aaaae095f94 Signed-off-by: NIIBE Yutaka --- g10/misc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'g10/misc.c') diff --git a/g10/misc.c b/g10/misc.c index 77c8f269c..97809692e 100644 --- a/g10/misc.c +++ b/g10/misc.c @@ -42,6 +42,7 @@ #include #include #ifdef HAVE_WINSOCK2_H +# define WIN32_LEAN_AND_MEAN 1 # include #endif #include -- cgit v1.2.3