+2005-05-04 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * wget.h: If gettext was found but libtintl.h wasn't, declare
+ gettext's return type to avoid type mismatches.
+
2005-05-03 Hrvoje Niksic <hniksic@xemacs.org>
* url.c (url_parse): Rename label `error' to avoid conflict with
# define _(string) gettext (string)
# ifdef HAVE_LIBINTL_H
# include <libintl.h>
-# endif /* HAVE_LIBINTL_H */
+# else /* not HAVE_LIBINTL_H */
+ const char *gettext ();
+# endif /* not HAVE_LIBINTL_H */
#else /* not HAVE_NLS */
# define _(string) (string)
#endif /* not HAVE_NLS */