summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorstein Husebø <torstein@huseboe.net>2016-01-29 15:41:24 +0100
committerTorstein Husebø <torstein@huseboe.net>2016-02-01 21:10:03 +0100
commitfa9e9f72b954fa42bbab8c4cc3c26d992e9615ef (patch)
tree90728da712c9839d8912e6c2ba9d48775c010c2b
parente94968ba72eccb75a8185c04dcc3c19f00bd5126 (diff)
resolve: Silence build warning, when systemd is built without libidn
HAVE_IDN is not defined when systemd is build without it
-rw-r--r--src/resolve/test-dnssec-complex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/test-dnssec-complex.c b/src/resolve/test-dnssec-complex.c
index caac251e83..cde9741866 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);