hermet pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=9a1f3891d4ba8570597e7f15d99b69a9beb49d36

commit 9a1f3891d4ba8570597e7f15d99b69a9beb49d36
Author: Andrii Kroitor <[email protected]>
Date:   Tue Sep 6 16:36:59 2016 +0900

    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
---
 src/lib/ecore_con/ecore_con_url_curl.h | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/lib/ecore_con/ecore_con_url_curl.h 
b/src/lib/ecore_con/ecore_con_url_curl.h
index 9a681eb..9f82230 100644
--- a/src/lib/ecore_con/ecore_con_url_curl.h
+++ b/src/lib/ecore_con/ecore_con_url_curl.h
@@ -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

-- 


Reply via email to