net: fix windows headers

pull/5095/head
Alexander Medvednikov 2020-06-10 11:24:34 +02:00
parent 2ed4457c5f
commit c261ac4f46
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ module http
#flag -l Urlmon
#include <Urlmon.h>
#include <urlmon.h>
fn download_file_with_progress(url, out string, cb, cb_finished voidptr) {
}

View File

@ -2,7 +2,7 @@ module net
#flag -lws2_32
#include <winsock2.h>
#include <Ws2tcpip.h>
#include <ws2tcpip.h>
struct C.WSAData {
mut: