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/daemon/Daemon.cpp | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) (limited to 'src/daemon/Daemon.cpp') diff --git a/src/daemon/Daemon.cpp b/src/daemon/Daemon.cpp index 735da5af..a568b477 100644 --- a/src/daemon/Daemon.cpp +++ b/src/daemon/Daemon.cpp @@ -16,6 +16,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 #include /* res_init */ @@ -25,18 +31,6 @@ #include #include #include -#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 #include "abrtlib.h" #include "abrt_exception.h" #include "CrashWatcher.h" -- cgit