test-dnssec: Allow builds without libgcrypt (#7850) (#7850)
authorMichal Koutný <mkoutny@suse.com>
Thu, 11 Jan 2018 11:28:32 +0000 (12:28 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 11 Jan 2018 11:28:32 +0000 (12:28 +0100)
Fixes: #7845

src/resolve/test-dnssec.c

index 2d2b5e3..ebabfba 100644 (file)
@@ -19,7 +19,9 @@
 ***/
 
 #include <arpa/inet.h>
+#if HAVE_GCRYPT
 #include <gcrypt.h>
+#endif
 #include <netinet/in.h>
 #include <sys/socket.h>