Skip to content

Commit fa9e9f7

Browse files
committed
resolve: Silence build warning, when systemd is built without libidn
HAVE_IDN is not defined when systemd is build without it
1 parent e94968b commit fa9e9f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/resolve/test-dnssec-complex.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ int main(int argc, char* argv[]) {
220220
test_hostname_lookup(bus, "poettering.de", AF_INET, NULL);
221221
test_hostname_lookup(bus, "poettering.de", AF_INET6, NULL);
222222

223-
#if HAVE_LIBIDN
223+
#ifdef HAVE_LIBIDN
224224
/* Unsigned A with IDNA conversion necessary */
225225
test_hostname_lookup(bus, "pöttering.de", AF_UNSPEC, NULL);
226226
test_hostname_lookup(bus, "pöttering.de", AF_INET, NULL);

0 commit comments

Comments
 (0)