diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-08-17 18:55:35 +0200 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-08-17 18:55:35 +0200 |
| commit | 3d7e4711921a936688441ea06c4691a67d5809be (patch) | |
| tree | 2e9579ccfe53d00bb2b98d79d4fd703b7e91aad5 /src/daemon/Daemon.cpp | |
| parent | 276100c5e7b543dfcaa1dc9f4ee748ca9032d587 (diff) | |
| download | abrt-3d7e4711921a936688441ea06c4691a67d5809be.tar.gz abrt-3d7e4711921a936688441ea06c4691a67d5809be.tar.xz abrt-3d7e4711921a936688441ea06c4691a67d5809be.zip | |
*: move NLS include and #define _ to abrtlib.h
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'src/daemon/Daemon.cpp')
| -rw-r--r-- | src/daemon/Daemon.cpp | 18 |
1 files changed, 6 insertions, 12 deletions
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 <config.h> +#endif +#if HAVE_LOCALE_H +# include <locale.h> +#endif #include <syslog.h> #include <pthread.h> #include <resolv.h> /* res_init */ @@ -25,18 +31,6 @@ #include <xmlrpc-c/base.h> #include <xmlrpc-c/client.h> #include <glib.h> -#if HAVE_CONFIG_H - #include <config.h> -#endif -#if HAVE_LOCALE_H - #include <locale.h> -#endif -#if ENABLE_NLS - #include <libintl.h> - #define _(S) gettext(S) -#else - #define _(S) (S) -#endif #include "abrtlib.h" #include "abrt_exception.h" #include "CrashWatcher.h" |
