summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/sync.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2008-01-23 04:36:11 +0100
committerDan McGee <dan@archlinux.org>2008-02-25 03:21:58 +0100
commit3e8ae774bdbc8572613a22988476b6b4e7ef91fd (patch)
tree9caca1d86157928a2673ad643bf7e1a37ee9ac6c /lib/libalpm/sync.c
parent143135e666f5564240868810f0b8f4bc46ff87b5 (diff)
downloadpacman-3e8ae774bdbc8572613a22988476b6b4e7ef91fd.tar.gz
pacman-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/sync.c')
-rw-r--r--lib/libalpm/sync.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c
index 3a27f7cc..ebc13cd3 100644
--- a/lib/libalpm/sync.c
+++ b/lib/libalpm/sync.c
@@ -45,6 +45,7 @@
#include "handle.h"
#include "alpm.h"
#include "server.h"
+#include "dload.h"
#include "delta.h"
pmsyncpkg_t *_alpm_sync_new(pmpkgreason_t newreason, pmpkg_t *spkg, alpm_list_t *removes)