aboutsummaryrefslogtreecommitdiff
path: root/lib/easy.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/easy.c')
-rw-r--r--lib/easy.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/easy.c b/lib/easy.c
index fc7b40b27..0b6d93361 100644
--- a/lib/easy.c
+++ b/lib/easy.c
@@ -79,6 +79,8 @@
#include "curl_memory.h"
#include "memdebug.h"
+void curl_version_init();
+
/* win32_cleanup() is for win32 socket cleanup functionality, the opposite
of win32_init() */
static void win32_cleanup(void)
@@ -280,7 +282,9 @@ static CURLcode global_init(long flags, bool memoryfuncs)
if(flags & CURL_GLOBAL_ACK_EINTR)
Curl_ack_eintr = 1;
- init_flags = flags;
+ init_flags = flags;
+
+ curl_version_init();
return CURLE_OK;
}