about summary refs log tree commit diff stats
path: root/WWW/Library
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2021-07-28 00:31:47 +0000
committerThomas E. Dickey <dickey@invisible-island.net>2021-07-28 00:31:47 +0000
commita1736830ce42f08f2bd25711668f19d5d39098df (patch)
tree9cfc16d2fb5abb869d6dc04ea5624e19c4c244ec /WWW/Library
parentdfc7594ae79c7b4ee4bb7fb3680643c37e9e7f42 (diff)
downloadlynx-snapshots-a1736830ce42f08f2bd25711668f19d5d39098df.tar.gz
snapshot of project "lynx", label v2-9-0dev_7a
Diffstat (limited to 'WWW/Library')
-rw-r--r--WWW/Library/Implementation/HTParse.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/WWW/Library/Implementation/HTParse.c b/WWW/Library/Implementation/HTParse.c
index 170a640d..2e454418 100644
--- a/WWW/Library/Implementation/HTParse.c
+++ b/WWW/Library/Implementation/HTParse.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: HTParse.c,v 1.96 2021/07/26 19:52:58 tom Exp $
+ * $LynxId: HTParse.c,v 1.98 2021/07/27 21:29:49 tom Exp $
  *
  *		Parse HyperText Document Address		HTParse.c
  *		================================
@@ -26,8 +26,10 @@
 #include <idn2.h>
 #define FreeIdna(out)             idn2_free(out)
 #elif defined(USE_IDNA)
-#include <idn2.h>
+#include <idna.h>
+#include <idn-free.h>
 #define FreeIdna(out)             idn_free(out)
+#define IDN2_OK                   IDNA_SUCCESS
 #endif
 
 #define HEX_ESCAPE '%'