aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/util/dnsparser.c10
1 files changed, 7 insertions, 3 deletions
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 @@
1/* 1/*
2 This file is part of GNUnet 2 This file is part of GNUnet
3 Copyright (C) 2010-2014 GNUnet e.V. 3 Copyright (C) 2010-2014, 2018 GNUnet e.V.
4 4
5 GNUnet is free software: you can redistribute it and/or modify it 5 GNUnet is free software: you can redistribute it and/or modify it
6 under the terms of the GNU Affero General Public License as published 6 under the terms of the GNU Affero General Public License as published
@@ -23,10 +23,14 @@
23 * @author Christian Grothoff 23 * @author Christian Grothoff
24 */ 24 */
25#include "platform.h" 25#include "platform.h"
26#if defined(HAVE_LIBIDN2) 26#if HAVE_IDN2_H
27#include <idn2.h> 27#include <idn2.h>
28#elif defined(HAVE_LIBIDN) 28#elif HAVE_IDN2_IDN2_H
29#include <idn2/idn2.h>
30#elif HAVE_IDNA_H
29#include <idna.h> 31#include <idna.h>
32#elif HAVE_IDN_IDNA_H
33#include <idn/idna.h>
30#endif 34#endif
31#if WINDOWS 35#if WINDOWS
32#include <idn-free.h> 36#include <idn-free.h>