ecore_con_url_curl.h: add missing include on windows

Summary: windows has its own sockets implementation

Reviewers: raster, bowonryu, vtorri, Hermet

Reviewed By: Hermet

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4279
This commit is contained in:
Andrii Kroitor 2016-09-06 16:36:59 +09:00 committed by Hermet Park
parent 81db8e9f32
commit 9a1f3891d4
1 changed files with 5 additions and 1 deletions

View File

@ -8,7 +8,11 @@
*/
#include <curl/curl.h>
#else
#include <sys/socket.h>
#ifdef __WIN32__
# include <winsock2.h>
#else
# include <sys/socket.h>
#endif
// all the types, defines, enums etc. from curl that we actually USE.
// we have to add to this if we use more things from curl not already