summaryrefslogtreecommitdiffstats
path: root/src/cache.c
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-07-07 11:12:24 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2009-07-09 06:08:44 +0000
commit080fa825ddf932cf95ef38ffa2107e3a99d49610 (patch)
tree19692ca0e69738437c4b02feb9ee97ec5a77a202 /src/cache.c
parentf1125dfcde748300846f9fba07f29791ec980c1a (diff)
downloadapk-tools-080fa825ddf932cf95ef38ffa2107e3a99d49610.tar.bz2
apk-tools-080fa825ddf932cf95ef38ffa2107e3a99d49610.tar.xz
implement --update-cache option
This will update the repository cache upon db_open.
Diffstat (limited to 'src/cache.c')
-rw-r--r--src/cache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cache.c b/src/cache.c
index 2e9dda7..6efbfe1 100644
--- a/src/cache.c
+++ b/src/cache.c
@@ -11,6 +11,7 @@
#include <dirent.h>
#include <unistd.h>
+#include <stdio.h>
#include "apk_defines.h"
#include "apk_applet.h"