From 3e8ae774bdbc8572613a22988476b6b4e7ef91fd Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Tue, 22 Jan 2008 21:36:11 -0600 Subject: Move download code out of server.c This is the first in what will be a series of patches to clean up the current download code in libalpm. Start by moving download code out of server.c and into download.c. Signed-off-by: Dan McGee --- lib/libalpm/db.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/libalpm/db.c') diff --git a/lib/libalpm/db.c b/lib/libalpm/db.c index 3bddea65..da9b9274 100644 --- a/lib/libalpm/db.c +++ b/lib/libalpm/db.c @@ -33,6 +33,7 @@ #include #include #include +#include /* downloadLastErrString among others. kill this */ /* libalpm */ #include "db.h" @@ -41,6 +42,7 @@ #include "util.h" #include "error.h" #include "server.h" +#include "dload.h" #include "handle.h" #include "cache.h" #include "alpm.h" -- cgit v1.2.3-24-g4f1b