]> sjero.net Git - wget/blobdiff - src/wget.h
[svn] Declare gettext when libintl.h is unavailable.
[wget] / src / wget.h
index f7467bb7cd9e96cbbdf1888d2b93bd77996772da..ec8e0534b76b3957a8922e7f58870f31af726559 100644 (file)
@@ -54,7 +54,9 @@ so, delete this exception statement from your version.  */
 # 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 */