summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-05-12 12:12:05 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-05-12 12:12:05 +0200
commit62b84fad399a919108a3ac95b28ccc5feaada6db (patch)
tree007b93c659878fcd9ab41fb6acfad8ba547b49d1 /src
parentefcf0c7b51e314577f2da467c7d7f1a07bbc60de (diff)
imlib.c: Do not include curl.h unless we use libcurl
Diffstat (limited to 'src')
-rw-r--r--src/imlib.c3
1 files changed, 3 insertions, 0 deletions
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 <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
+
+#ifdef HAVE_LIBCURL
#include <curl/curl.h>
+#endif
Display *disp = NULL;
Visual *vis = NULL;