Fixed cygwin compile

This commit is contained in:
James Booth
2016-04-19 22:55:48 +01:00
committed by Dominik Heidler
parent 261bbd3fc0
commit 9d263d7c83
2 changed files with 6 additions and 3 deletions

View File

@@ -35,6 +35,11 @@
#ifndef TOOLS_HTTP_UPLOAD_H
#define TOOLS_HTTP_UPLOAD_H
#ifdef PLATFORM_CYGWIN
#define SOCKET int
#endif
#include <sys/socket.h>
#include <curl/curl.h>
// forward -> ui/win_types.h