summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--inc/abrtlib.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/inc/abrtlib.h b/inc/abrtlib.h
index 8ceaf9da..c37ff206 100644
--- a/inc/abrtlib.h
+++ b/inc/abrtlib.h
@@ -42,6 +42,11 @@
# include <string>
#endif
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
+/* Must be after #include "config.h" */
#if ENABLE_NLS
# include <libintl.h>
# define _(S) gettext(S)
@@ -61,10 +66,6 @@ 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"