diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2010-08-30 17:20:27 +0200 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2010-08-30 17:20:27 +0200 |
commit | 7f620f4c514663b86e656a87bccb096ad33cfebd (patch) | |
tree | 88efd4a82791fadbc974484877e4235c54a0413a /inc/abrtlib.h | |
parent | bd71db9397fbf2fa585ada04bce151e800801c73 (diff) | |
download | abrt-7f620f4c514663b86e656a87bccb096ad33cfebd.tar.gz abrt-7f620f4c514663b86e656a87bccb096ad33cfebd.tar.xz abrt-7f620f4c514663b86e656a87bccb096ad33cfebd.zip |
fix my goof: include "config.h" must be before ENABLE_NLS
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'inc/abrtlib.h')
-rw-r--r-- | inc/abrtlib.h | 9 |
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" |