packages/net/lftp/patches/001-libintl.patch

19 lines
533 B
Diff
Raw Normal View History

--- a/lib/gettext.h
+++ b/lib/gettext.h
@@ -23,7 +23,6 @@
#if ENABLE_NLS
/* Get declarations of GNU message catalog functions. */
-# include <libintl.h>
/* You can set the DEFAULT_TEXT_DOMAIN macro to specify the domain used by
the gettext() and ngettext() macros. This is an alternative to calling
@@ -55,7 +54,6 @@
#if defined(__cplusplus) && defined(__GNUG__) && (__GNUC__ >= 3)
# include <cstdlib>
# if (__GLIBC__ >= 2 && !defined __UCLIBC__) || _GLIBCXX_HAVE_LIBINTL_H
-# include <libintl.h>
# endif
#endif