From 62b84fad399a919108a3ac95b28ccc5feaada6db Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 12 May 2011 12:12:05 +0200 Subject: imlib.c: Do not include curl.h unless we use libcurl --- src/imlib.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/imlib.c b/src/imlib.c index b208abf..cdd4f7c 100644 --- a/src/imlib.c +++ b/src/imlib.c @@ -34,7 +34,10 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include #include #include + +#ifdef HAVE_LIBCURL #include +#endif Display *disp = NULL; Visual *vis = NULL; -- cgit v1.2.3