]> sjero.net Git - wget/blobdiff - src/iri.c
Set an initial value for IRIs options and some minor additions in iri.c
[wget] / src / iri.c
index 797ffa44a6825f550333209b5c9b7f5684b45ff6..b87e6ebeb467decb8fba2614033593e5032ad28d 100644 (file)
--- a/src/iri.c
+++ b/src/iri.c
@@ -35,6 +35,8 @@ as that of the covered work.  */
 #include <assert.h>
 #include <string.h>
 
+#include <stringprep.h>
+
 #include "utils.h"
 #include "iri.h"
 
@@ -73,7 +75,7 @@ char *
 find_locale (void)
 {
   /* sXXXav, made our own function or use libidn one ?! */
-  return stringprep_locale_charset ();
+  return (char *) stringprep_locale_charset ();
 }