about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation
diff options
context:
space:
mode:
Diffstat (limited to 'WWW/Library/Implementation')
-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 '%'