summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/db.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2008-01-22 21:36:11 -0600
committerDan McGee <dan@archlinux.org>2008-02-24 20:21:58 -0600
commit3e8ae774bdbc8572613a22988476b6b4e7ef91fd (patch)
tree9caca1d86157928a2673ad643bf7e1a37ee9ac6c /lib/libalpm/db.c
parent143135e666f5564240868810f0b8f4bc46ff87b5 (diff)
downloadpacman-3e8ae774bdbc8572613a22988476b6b4e7ef91fd.tar.xz
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 <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/db.c')
-rw-r--r--lib/libalpm/db.c2
1 files changed, 2 insertions, 0 deletions
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 <dirent.h>
#include <regex.h>
#include <time.h>
+#include <download.h> /* 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"