summaryrefslogtreecommitdiffstats
path: root/src/glue.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2025-02-13 03:08:19 +0100
committerGravatar Nikias Bassen2025-02-13 03:08:19 +0100
commit1abbdf9a0deb36d064fced2ad024d1994b3a25c0 (patch)
tree63e981dd01c64b740c8324787f0ab5df8257324f /src/glue.c
parenteed04d575e28afb83839ee92f2ff53d671364c31 (diff)
downloadlibimobiledevice-glue-1abbdf9a0deb36d064fced2ad024d1994b3a25c0.tar.gz
libimobiledevice-glue-1abbdf9a0deb36d064fced2ad024d1994b3a25c0.tar.bz2
socket: WIN32: call WSAInit from library constructor
Diffstat (limited to 'src/glue.c')
-rw-r--r--src/glue.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glue.c b/src/glue.c
index 8913f7f..02e1af8 100644
--- a/src/glue.c
+++ b/src/glue.c
@@ -56,10 +56,12 @@
static void f(void)
#endif
+extern void socket_init();
extern void term_colors_init();
INITIALIZER(internal_glue_init)
{
+ socket_init();
term_colors_init();
}