about summary refs log tree commit diff stats
path: root/src/tools/http_upload.h
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-04-19 22:55:48 +0100
committerDominik Heidler <dominik@heidler.eu>2016-04-26 23:50:55 +0200
commit9d263d7c83bb04bcd4bdd2d7f384a6bbf36ce986 (patch)
treee7551b0cdd923e2321aeb46f204d651346c172b8 /src/tools/http_upload.h
parent261bbd3fc0ca8d28d96d8026f704105a36e19602 (diff)
downloadprofani-tty-9d263d7c83bb04bcd4bdd2d7f384a6bbf36ce986.tar.gz
Fixed cygwin compile
Diffstat (limited to 'src/tools/http_upload.h')
-rw-r--r--src/tools/http_upload.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tools/http_upload.h b/src/tools/http_upload.h
index 7bb539cb..28c83d98 100644
--- a/src/tools/http_upload.h
+++ b/src/tools/http_upload.h
@@ -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