From 87ffc648b7bce35dcc55dd43dce832669f83e894 Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Mon, 11 Feb 2013 13:39:57 +1000 Subject: Fix --without-gpgme build Signed-off-by: Allan McRae --- lib/libalpm/sync.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c index c76b502a..be55500c 100644 --- a/lib/libalpm/sync.c +++ b/lib/libalpm/sync.c @@ -969,6 +969,7 @@ finish: return errors; } +#ifdef HAVE_LIBGPGME static int check_keyring(alpm_handle_t *handle) { size_t current = 0, numtargs; @@ -1038,6 +1039,7 @@ static int check_keyring(alpm_handle_t *handle) return 0; } +#endif /* HAVE_LIBGPGME */ static int check_validity(alpm_handle_t *handle, size_t total, size_t total_bytes) -- cgit v1.2.3-70-g09d2