aboutsummaryrefslogtreecommitdiffstats
path: root/keyserver/curl-shim.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyserver/curl-shim.c')
-rw-r--r--keyserver/curl-shim.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/keyserver/curl-shim.c b/keyserver/curl-shim.c
index 74b3f17e0..dfa3d1e3c 100644
--- a/keyserver/curl-shim.c
+++ b/keyserver/curl-shim.c
@@ -89,6 +89,10 @@ curl_easy_init(void)
{
CURL *handle;
+#ifdef HAVE_W32_SYSTEM
+ w32_init_sockets ();
+#endif
+
handle=calloc(1,sizeof(CURL));
if(handle)
handle->errors=stderr;