summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/error.c
diff options
context:
space:
mode:
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