diff options
author | Werner Koch <wk@gnupg.org> | 2014-03-07 09:46:44 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2014-03-07 14:18:43 +0100 |
commit | cb0dcc340836a64e2d33b27f1be7bc888c084f12 (patch) | |
tree | b3a7c437ee7b2fe2f529697b458d3ea05d873bb0 /common/stringhelp.c | |
parent | gl: Avoid warning about shadowing an arg. (diff) | |
download | gnupg2-cb0dcc340836a64e2d33b27f1be7bc888c084f12.tar.xz gnupg2-cb0dcc340836a64e2d33b27f1be7bc888c084f12.zip |
w32: Include winsock2.h to silence warnings.
Diffstat (limited to 'common/stringhelp.c')
-rw-r--r-- | common/stringhelp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/stringhelp.c b/common/stringhelp.c index d51d3e0ce..2d2b412dc 100644 --- a/common/stringhelp.c +++ b/common/stringhelp.c @@ -41,6 +41,9 @@ #include <unistd.h> #include <sys/types.h> #ifdef HAVE_W32_SYSTEM +# ifdef HAVE_WINSOCK2_H +# include <winsock2.h> +# endif # include <windows.h> #endif |