From fa9e9f72b954fa42bbab8c4cc3c26d992e9615ef Mon Sep 17 00:00:00 2001 From: =?utf8?q?Torstein=20Huseb=C3=B8?= Date: Fri, 29 Jan 2016 15:41:24 +0100 Subject: [PATCH] resolve: Silence build warning, when systemd is built without libidn HAVE_IDN is not defined when systemd is build without it --- src/resolve/test-dnssec-complex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resolve/test-dnssec-complex.c b/src/resolve/test-dnssec-complex.c index caac251..cde9741 100644 --- a/src/resolve/test-dnssec-complex.c +++ b/src/resolve/test-dnssec-complex.c @@ -220,7 +220,7 @@ int main(int argc, char* argv[]) { test_hostname_lookup(bus, "poettering.de", AF_INET, NULL); test_hostname_lookup(bus, "poettering.de", AF_INET6, NULL); -#if HAVE_LIBIDN +#ifdef HAVE_LIBIDN /* Unsigned A with IDNA conversion necessary */ test_hostname_lookup(bus, "pöttering.de", AF_UNSPEC, NULL); test_hostname_lookup(bus, "pöttering.de", AF_INET, NULL); -- 2.7.4