From: Torstein Husebø Date: Fri, 29 Jan 2016 14:41:24 +0000 (+0100) Subject: resolve: Silence build warning, when systemd is built without libidn X-Git-Tag: v229~51^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fa9e9f72b954fa42bbab8c4cc3c26d992e9615ef;p=thirdparty%2Fsystemd.git resolve: Silence build warning, when systemd is built without libidn HAVE_IDN is not defined when systemd is build without it --- diff --git a/src/resolve/test-dnssec-complex.c b/src/resolve/test-dnssec-complex.c index caac251e836..cde97418669 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);