diff --git a/legacy/ecore/ChangeLog b/legacy/ecore/ChangeLog index 8b9d474b95..586b151686 100644 --- a/legacy/ecore/ChangeLog +++ b/legacy/ecore/ChangeLog @@ -54,7 +54,7 @@ * Add get calls in ecore_imf for ecore_imf_context_canvas_get() and ecore_imf_context_window_get(). -2011-02-21 Raoul Hecky +2011-02-21 Raoul Hecky * Remove 300 second timeout so large downloads work in ecore_con. @@ -64,3 +64,7 @@ on fork. Have it detecti this on next monitor add and re-init the inotify fd and fd handler. +2011-02-24 Vincent Torri + + * Ecore_File: fix compilation when ecore_con and curl are not + available diff --git a/legacy/ecore/src/lib/ecore_file/ecore_file_download.c b/legacy/ecore/src/lib/ecore_file/ecore_file_download.c index e8d806b3cc..ab8294a898 100644 --- a/legacy/ecore/src/lib/ecore_file/ecore_file_download.c +++ b/legacy/ecore/src/lib/ecore_file/ecore_file_download.c @@ -78,6 +78,8 @@ ecore_file_download_shutdown(void) #endif /* BUILD_ECORE_CON */ } +#ifdef BUILD_ECORE_CON +# ifdef HAVE_CURL static Eina_Bool _ecore_file_download_headers_foreach_cb(const Eina_Hash *hash __UNUSED__, const void *key, void *data, void *fdata) { @@ -86,6 +88,8 @@ _ecore_file_download_headers_foreach_cb(const Eina_Hash *hash __UNUSED__, const return EINA_TRUE; } +# endif +#endif static Eina_Bool _ecore_file_download(const char *url,