summaryrefslogtreecommitdiffstats
path: root/lib/plugins
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-08-17 18:55:35 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-08-17 18:55:35 +0200
commit3d7e4711921a936688441ea06c4691a67d5809be (patch)
tree2e9579ccfe53d00bb2b98d79d4fd703b7e91aad5 /lib/plugins
parent276100c5e7b543dfcaa1dc9f4ee748ca9032d587 (diff)
downloadabrt-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 'lib/plugins')
-rw-r--r--lib/plugins/Bugzilla.cpp6
-rw-r--r--lib/plugins/RHTSupport.cpp6
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/plugins/Bugzilla.cpp b/lib/plugins/Bugzilla.cpp
index 55a957be..bcdb7730 100644
--- a/lib/plugins/Bugzilla.cpp
+++ b/lib/plugins/Bugzilla.cpp
@@ -17,6 +17,9 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
#include "abrtlib.h"
#include "abrt_xmlrpc.h"
#include "Bugzilla.h"
@@ -25,9 +28,6 @@
#include "abrt_exception.h"
#include "comm_layer_inner.h"
#include "strbuf.h"
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
#define XML_RPC_SUFFIX "/xmlrpc.cgi"
#define MAX_HOPS 5
diff --git a/lib/plugins/RHTSupport.cpp b/lib/plugins/RHTSupport.cpp
index f056056d..0db227b3 100644
--- a/lib/plugins/RHTSupport.cpp
+++ b/lib/plugins/RHTSupport.cpp
@@ -18,6 +18,9 @@
*/
#define _GNU_SOURCE 1 /* for stpcpy */
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
#include <libtar.h>
#include "abrtlib.h"
#include "abrt_curl.h"
@@ -28,9 +31,6 @@
#include "comm_layer_inner.h"
#include "RHTSupport.h"
#include "strbuf.h"
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
using namespace std;