summaryrefslogtreecommitdiff
path: root/lib/libalpm/dload.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/dload.c')
-rw-r--r--lib/libalpm/dload.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libalpm/dload.c b/lib/libalpm/dload.c
index 7a98eb12..afe0dd40 100644
--- a/lib/libalpm/dload.c
+++ b/lib/libalpm/dload.c
@@ -35,6 +35,10 @@
#include <sys/param.h> /* MAXHOSTNAMELEN */
#endif
+#ifdef HAVE_LIBCURL
+#include <curl/curl.h>
+#endif
+
#ifdef HAVE_LIBFETCH
#include <fetch.h>
#endif