diff options
Diffstat (limited to 'src/util/dnsparser.c')
-rw-r--r-- | src/util/dnsparser.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/util/dnsparser.c b/src/util/dnsparser.c index 24f1b18cf..79d723f12 100644 --- a/src/util/dnsparser.c +++ b/src/util/dnsparser.c | |||
@@ -17,13 +17,17 @@ | |||
17 | */ | 17 | */ |
18 | 18 | ||
19 | /** | 19 | /** |
20 | * @file dns/dnsparser.c | 20 | * @file util/dnsparser.c |
21 | * @brief helper library to parse DNS packets. | 21 | * @brief helper library to parse DNS packets. |
22 | * @author Philipp Toelke | 22 | * @author Philipp Toelke |
23 | * @author Christian Grothoff | 23 | * @author Christian Grothoff |
24 | */ | 24 | */ |
25 | #include "platform.h" | 25 | #include "platform.h" |
26 | #if defined(HAVE_LIBIDN2) | ||
27 | #include <idn2.h> | ||
28 | #elif defined(HAVE_LIBIDN) | ||
26 | #include <idna.h> | 29 | #include <idna.h> |
30 | #endif | ||
27 | #if WINDOWS | 31 | #if WINDOWS |
28 | #include <idn-free.h> | 32 | #include <idn-free.h> |
29 | #endif | 33 | #endif |