From 8a4b969fd2e9fb399dfd1d9d1569e95a77d599bb Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 25 Oct 2018 15:05:21 +0200 Subject: cleaning up configure, in particular the idn.h checks --- src/util/dnsparser.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/util/dnsparser.c b/src/util/dnsparser.c index 79d723f12..2d2354222 100644 --- a/src/util/dnsparser.c +++ b/src/util/dnsparser.c @@ -1,6 +1,6 @@ /* This file is part of GNUnet - Copyright (C) 2010-2014 GNUnet e.V. + Copyright (C) 2010-2014, 2018 GNUnet e.V. GNUnet is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published @@ -23,10 +23,14 @@ * @author Christian Grothoff */ #include "platform.h" -#if defined(HAVE_LIBIDN2) +#if HAVE_IDN2_H #include -#elif defined(HAVE_LIBIDN) +#elif HAVE_IDN2_IDN2_H +#include +#elif HAVE_IDNA_H #include +#elif HAVE_IDN_IDNA_H +#include #endif #if WINDOWS #include -- cgit v1.2.3