summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2011-03-27 22:25:12 +0200
committerShaun McCance <shaunm@gnome.org>2011-03-27 22:18:22 -0400
commit00f7805b0be78474e7a356bf8b2e8f48abb1453e (patch)
tree95a4c8753499af83901a7da9326510d273f548d6
parent66da0ad07adefe95d5d25e499e071434669d563a (diff)
downloadyelp-00f7805b0be78474e7a356bf8b2e8f48abb1453e.tar.gz
Add missing #include <config.h> to make sure translation work among other things.
-rw-r--r--libyelp/yelp-debug.h4
-rw-r--r--libyelp/yelp-error.c4
-rw-r--r--libyelp/yelp-location-entry.c4
-rw-r--r--libyelp/yelp-settings.c4
-rw-r--r--src/yelp-print.c4
5 files changed, 16 insertions, 4 deletions
diff --git a/libyelp/yelp-debug.h b/libyelp/yelp-debug.h
index 4706df26..4322da2a 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 8de0231b..dec1903c 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 0e74db0c..55225d78 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 841cfbad..17ce819a 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 5bceef78..8abf35a6 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>