diff options
| author | Werner Koch <[email protected]> | 2014-03-07 08:46:44 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2014-03-07 13:18:43 +0000 |
| commit | cb0dcc340836a64e2d33b27f1be7bc888c084f12 (patch) | |
| tree | b3a7c437ee7b2fe2f529697b458d3ea05d873bb0 /common/sysutils.c | |
| parent | gl: Avoid warning about shadowing an arg. (diff) | |
| download | gnupg-cb0dcc340836a64e2d33b27f1be7bc888c084f12.tar.gz gnupg-cb0dcc340836a64e2d33b27f1be7bc888c084f12.zip | |
w32: Include winsock2.h to silence warnings.
Diffstat (limited to 'common/sysutils.c')
| -rw-r--r-- | common/sysutils.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/sysutils.c b/common/sysutils.c index f0c2ad8a8..0d92741ec 100644 --- a/common/sysutils.c +++ b/common/sysutils.c @@ -57,6 +57,9 @@ # if WINVER < 0x0500 # define WINVER 0x0500 /* Required for AllowSetForegroundWindow. */ # endif +# ifdef HAVE_WINSOCK2_H +# include <winsock2.h> +# endif # include <windows.h> #endif #ifdef HAVE_NPTH |
