summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;