Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/error.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/error.c
parent67391c2c6cfa0044f554fb6a6b9717175d8d83a3 (diff)
add curl to alpm initialization and teardown routines
Signed-off-by: Dave Reisner <d@falconindy.com>
Diffstat (limited to 'lib/libalpm/error.c')
-rw-r--r--lib/libalpm/error.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libalpm/error.c b/lib/libalpm/error.c
index 21fbb48f..aec97a1f 100644
--- a/lib/libalpm/error.c
+++ b/lib/libalpm/error.c
@@ -28,6 +28,10 @@
#include <sys/param.h> /* MAXHOSTNAMELEN */
#endif
+#ifdef HAVE_LIBCURL
+#include <curl/curl.h>
+#endif
+
#ifdef HAVE_LIBFETCH
#include <fetch.h> /* fetchLastErrString */
#endif