[evolution-patches] [PATCH] camel-i18n.h should include config.h
- From: Christian Neumair <chris gnome-de org>
- To: evolution-patches ximian com
- Subject: [evolution-patches] [PATCH] camel-i18n.h should include config.h
- Date: Sat, 07 Feb 2004 13:46:36 +0100
camel-i18n checks for ENABLE_NLS which is defined through config.h.
Threfore i18n doesn't work if no file in the include chain includes
config.h for that particular source file.
regs,
Chris
Index: camel/camel-i18n.h
===================================================================
RCS file: /cvs/gnome/evolution/camel/camel-i18n.h,v
retrieving revision 1.1
diff -u -r1.1 camel-i18n.h
--- camel/camel-i18n.h 7 Nov 2002 21:34:17 -0000 1.1
+++ camel/camel-i18n.h 7 Feb 2004 10:24:37 -0000
@@ -24,6 +24,10 @@
#ifndef __CAMEL_I18N_H__
#define __CAMEL_I18N_H__
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <glib.h>
#ifdef __cplusplus
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]