Commit 198d8dd5 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

curl: Use winsock2 instead and the GLib macro for checking if we're on Windows

parent 0ea13d7a
......@@ -48,8 +48,8 @@
#include <string.h>
#include <stdio.h>
#ifdef _WIN32
#include <winsock.h>
#ifdef G_OS_WIN32
#include <winsock2.h>
#else
#include <sys/socket.h>
#include <netinet/in.h>
......
......@@ -34,8 +34,8 @@
#include <string.h>
#include <stdio.h>
#ifdef _WIN32
#include <winsock.h>
#ifdef G_OS_WIN32
#include <winsock2.h>
#else
#include <sys/socket.h>
#include <netinet/in.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment