diff --git a/libretro-common/net/net_http.c b/libretro-common/net/net_http.c index bcfb6a35b2..a3dc3ce3d1 100644 --- a/libretro-common/net/net_http.c +++ b/libretro-common/net/net_http.c @@ -74,6 +74,9 @@ static int net_http_new_socket(const char *domain, int port) #endif struct addrinfo hints, *addr = NULL; char portstr[16] = {0}; + + /* Initialize the network. */ + network_init(); snprintf(portstr, sizeof(portstr), "%i", port);