From 3d7e4711921a936688441ea06c4691a67d5809be Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 17 Aug 2010 18:55:35 +0200 Subject: *: move NLS include and #define _ to abrtlib.h Signed-off-by: Denys Vlasenko --- src/cli/CLI.cpp | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) (limited to 'src/cli/CLI.cpp') diff --git a/src/cli/CLI.cpp b/src/cli/CLI.cpp index 276703dc..d1cc13d8 100644 --- a/src/cli/CLI.cpp +++ b/src/cli/CLI.cpp @@ -15,6 +15,12 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#if HAVE_CONFIG_H +# include +#endif +#if HAVE_LOCALE_H +# include +#endif #include #include "abrt_exception.h" #include "abrtlib.h" @@ -22,18 +28,6 @@ #include "dbus_common.h" #include "report.h" #include "dbus.h" -#if HAVE_CONFIG_H -# include -#endif -#if HAVE_LOCALE_H -# include -#endif -#if ENABLE_NLS -# include -# define _(S) gettext(S) -#else -# define _(S) (S) -#endif /** Creates a localized string from crash time. */ static char *localize_crash_time(const char *timestr) -- cgit