[yelp] Add missing #include <config.h> to make sure translation work among other things.



commit 00f7805b0be78474e7a356bf8b2e8f48abb1453e
Author: Kjartan Maraas <kmaraas gnome org>
Date:   Sun Mar 27 22:25:12 2011 +0200

    Add missing #include <config.h> to make sure translation work among other things.

 libyelp/yelp-debug.h          |    4 ----
 libyelp/yelp-error.c          |    4 ++++
 libyelp/yelp-location-entry.c |    4 ++++
 libyelp/yelp-settings.c       |    4 ++++
 src/yelp-print.c              |    4 ++++
 5 files changed, 16 insertions(+), 4 deletions(-)
---
diff --git a/libyelp/yelp-debug.h b/libyelp/yelp-debug.h
index 4706df2..4322da2 100644
--- a/libyelp/yelp-debug.h
+++ b/libyelp/yelp-debug.h
@@ -23,10 +23,6 @@
 
 G_BEGIN_DECLS
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
 #include <glib.h>
 
 typedef enum {
diff --git a/libyelp/yelp-error.c b/libyelp/yelp-error.c
index 8de0231..dec1903 100644
--- a/libyelp/yelp-error.c
+++ b/libyelp/yelp-error.c
@@ -20,6 +20,10 @@
  * Author: Shaun McCance <shaunm gnome org>
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <glib.h>
 #include <glib/gi18n.h>
 
diff --git a/libyelp/yelp-location-entry.c b/libyelp/yelp-location-entry.c
index 0e74db0..55225d7 100644
--- a/libyelp/yelp-location-entry.c
+++ b/libyelp/yelp-location-entry.c
@@ -20,6 +20,10 @@
  * Author: Shaun McCance <shaunm gnome org>
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <gdk/gdkkeysyms.h>
 #include <gtk/gtk.h>
 #include <glib/gi18n.h>
diff --git a/libyelp/yelp-settings.c b/libyelp/yelp-settings.c
index 841cfba..17ce819 100644
--- a/libyelp/yelp-settings.c
+++ b/libyelp/yelp-settings.c
@@ -20,6 +20,10 @@
  * Author: Shaun McCance <shaunm gnome org>
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdarg.h>
 
 #include <gtk/gtk.h>
diff --git a/src/yelp-print.c b/src/yelp-print.c
index 5bceef7..8abf35a 100644
--- a/src/yelp-print.c
+++ b/src/yelp-print.c
@@ -22,6 +22,10 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <unistd.h>
 #include <sys/stat.h>
 #include <glib.h>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]