From 59703c95fb529386574a334c9cff7cd5d4f16255 Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Sun, 19 Feb 2023 13:18:52 +0100 Subject: lib: Refactor hash internals The internal hash enum now matches the public one w.r.t. directory hash policies. This removes some unnecessary conversion. Signed-off-by: Dimitri Staessens Signed-off-by: Sander Vrijders --- src/lib/dev.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/lib/dev.c') diff --git a/src/lib/dev.c b/src/lib/dev.c index 360b65d5..c46bbdd7 100644 --- a/src/lib/dev.c +++ b/src/lib/dev.c @@ -50,6 +50,9 @@ #include #endif +#ifdef HAVE_LIBGCRYPT +#include +#endif #include #include #include -- cgit v1.2.3