]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
resolve: Silence build warning, when systemd is built without libidn 2505/head
authorTorstein Husebø <torstein@huseboe.net>
Fri, 29 Jan 2016 14:41:24 +0000 (15:41 +0100)
committerTorstein Husebø <torstein@huseboe.net>
Mon, 1 Feb 2016 20:10:03 +0000 (21:10 +0100)
HAVE_IDN is not defined when systemd is build without it

src/resolve/test-dnssec-complex.c

index caac251e836fe108f56df79552c7d1b8e34baf8a..cde974186698dba481ca627f8f261f18a64abb36 100644 (file)
@@ -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);