summaryrefslogtreecommitdiff
path: root/common/init.c
diff options
context:
space:
mode:
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>2014-11-13 09:26:18 +0100
committerKévin THIERRY <kevin.thierry@open.eurogiciel.org>2014-11-13 09:26:18 +0100
commite87a22655de485af790db1d4c51f4bc166a2bbd6 (patch)
tree93d088c2bc13d9a26e6f24b70936d998bd1404df /common/init.c
parent6576640b55777bd811a12a188b9b1f3c63653799 (diff)
downloadgpg2-e87a22655de485af790db1d4c51f4bc166a2bbd6.tar.gz
gpg2-e87a22655de485af790db1d4c51f4bc166a2bbd6.tar.bz2
gpg2-e87a22655de485af790db1d4c51f4bc166a2bbd6.zip
Imported Upstream version 2.0.26upstream/2.0.26
Diffstat (limited to 'common/init.c')
-rw-r--r--common/init.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/common/init.c b/common/init.c
index 5425ace..7be8af0 100644
--- a/common/init.c
+++ b/common/init.c
@@ -25,9 +25,12 @@
#endif
#ifdef HAVE_W32_SYSTEM
+# ifdef HAVE_WINSOCK2_H
+# include <winsock2.h>
+# endif
#include <windows.h>
#endif
-#ifdef HAVE_PTH
+#ifdef HAVE_PTH
#include <pth.h>
#endif
@@ -46,7 +49,7 @@ void
init_common_subsystems (void)
{
/* Try to auto set the character set. */
- set_native_charset (NULL);
+ set_native_charset (NULL);
#ifdef HAVE_W32_SYSTEM
/* For W32 we need to initialize the socket layer. This is because