summaryrefslogtreecommitdiff
path: root/lib/libalpm/dload.c
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2010-12-15 19:57:31 -0500
committerDave Reisner <d@falconindy.com>2011-03-09 15:22:32 -0500
commit75bfe825fc4018173b0d7a3c4029094edb52d93a (patch)
tree13cce74fdc6cf94e09477f3782053d7592fe750b /lib/libalpm/dload.c
parent67391c2c6cfa0044f554fb6a6b9717175d8d83a3 (diff)
downloadpacman-75bfe825fc4018173b0d7a3c4029094edb52d93a.tar.xz
add curl to alpm initialization and teardown routines
Signed-off-by: Dave Reisner <d@falconindy.com>
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