aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal KoutnĂ˝ <mkoutny@suse.com>2018-01-11 12:28:32 +0100
committerMike Gilbert <floppym@gentoo.org>2018-01-13 12:23:30 -0500
commitf1afc929558dacf76ffca1a3531e9dd3edc9b04f (patch)
tree2fa732e8b4354bfd6567e9aaa2d291ccf8965372
parenttmpfiles: consider /etc uninitialized also when /etc/machine-id is present bu... (diff)
downloadsystemd-gentoo-236.tar.gz
systemd-gentoo-236.tar.bz2
systemd-gentoo-236.zip
test-dnssec: Allow builds without libgcrypt (#7850) (#7850)gentoo-236
Fixes: #7845 (cherry picked from commit 4848b1f91ab8bc9b44b377c13dc20e69a21bde9a)
-rw-r--r--src/resolve/test-dnssec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resolve/test-dnssec.c b/src/resolve/test-dnssec.c
index 2d2b5e31b..ebabfba96 100644
--- a/src/resolve/test-dnssec.c
+++ b/src/resolve/test-dnssec.c
@@ -19,7 +19,9 @@
***/
#include <arpa/inet.h>
+#if HAVE_GCRYPT
#include <gcrypt.h>
+#endif
#include <netinet/in.h>
#include <sys/socket.h>