Permalink
Browse files

Properly include config.h as needed

Geany used to have a bug with the side effect of including config.h
implicitly.  Now this bug is fixed, but it breaks code relying on this
side effect.

git-svn-id: https://geany-plugins.svn.sourceforge.net/svnroot/geany-plugins/trunk/geany-plugins@2129 e8383189-8249-0410-b506-acc975200cbd
  • Loading branch information...
1 parent 6172c67 commit 7585fdff51c2fb4d6a876042497190913b15b1a1 @b4n b4n committed Aug 13, 2011
@@ -24,6 +24,10 @@
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h" /* for the gettext domain */
+#endif
+
#include "ggd-file-type-loader.h"
#include <string.h>
@@ -19,6 +19,10 @@
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h" /* for the gettext domain */
+#endif
+
#include "ggd-file-type-manager.h"
#include <glib.h>
@@ -18,6 +18,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h" /* for the gettext domain */
+#endif
+
#include "ggd-plugin.h"
#include <glib.h>
@@ -19,6 +19,10 @@
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h" /* for the gettext domain */
+#endif
+
#include "ggd-tag-utils.h"
#include <geanyplugin.h>
@@ -19,6 +19,10 @@
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h" /* for the gettext domain */
+#endif
+
#include "ggd-utils.h"
#include <sys/types.h>
@@ -18,6 +18,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h" /* for the gettext domain */
+#endif
+
#include "ggd-widget-doctype-selector.h"
#include <gtk/gtk.h>
@@ -18,6 +18,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h" /* for the gettext domain */
+#endif
+
#include "ggd.h"
#include <string.h>

0 comments on commit 7585fdf

Please sign in to comment.