summaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2010-08-30 16:56:03 +0200
committerDenys Vlasenko <dvlasenk@redhat.com>2010-08-30 16:56:03 +0200
commitbd71db9397fbf2fa585ada04bce151e800801c73 (patch)
tree88df7c37c006598aab6798d967f52e36b45730f6 /inc
parent52b888f8712d3cd970174ce4bb001f3979a88a6a (diff)
consolidate HAVE_CONFIG_H in abrtlib.h
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'inc')
-rw-r--r--inc/abrtlib.h8
-rw-r--r--inc/plugin.h3
2 files changed, 4 insertions, 7 deletions
diff --git a/inc/abrtlib.h b/inc/abrtlib.h
index c574834f..8ceaf9da 100644
--- a/inc/abrtlib.h
+++ b/inc/abrtlib.h
@@ -42,10 +42,6 @@
# include <string>
#endif
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
-
#if ENABLE_NLS
# include <libintl.h>
# define _(S) gettext(S)
@@ -65,6 +61,10 @@ int vdprintf(int d, const char *format, va_list ap);
#undef ARRAY_SIZE
#define ARRAY_SIZE(x) ((unsigned)(sizeof(x) / sizeof((x)[0])))
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include "abrt_types.h"
#include "xfuncs.h"
#include "logging.h"
diff --git a/inc/plugin.h b/inc/plugin.h
index 420a7cd8..a22d0f67 100644
--- a/inc/plugin.h
+++ b/inc/plugin.h
@@ -22,9 +22,6 @@
#ifndef PLUGIN_H_
#define PLUGIN_H_
-#if HAVE_CONFIG_H
-# include <config.h>
-#endif
#include "abrt_types.h"
#include "crash_types.h"