Skip to content
Browse files

Properly include config.h as needed (after the implicit has been corr…

…ectly removed from Geany's core)

git-svn-id: https://geany-plugins.svn.sourceforge.net/svnroot/geany-plugins/trunk/geany-plugins@2139 e8383189-8249-0410-b506-acc975200cbd
  • Loading branch information...
1 parent 803a50a commit 032bd4cfef28fb4a0e513270c68e98b25bd2575f @eht16 eht16 committed Aug 14, 2011
View
4 debugger/src/plugin.c
@@ -23,6 +23,10 @@
* geany debugger plugin
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include "geanyplugin.h"
#include "breakpoint.h"
#include "breakpoints.h"
View
4 geanyextrasel/src/extrasel.c
@@ -17,6 +17,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <gdk/gdkkeysyms.h>
#include "geanyplugin.h"
View
4 geanygdb/src/gdb-io-stack.c
@@ -17,6 +17,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <string.h>
#include <glib.h>
View
4 geanygdb/src/gdb-ui-main.c
@@ -18,6 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
View
4 geanygdb/src/geanygdb.c
@@ -20,6 +20,10 @@
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <glib/gstdio.h>
#include "geanyplugin.h"
View
4 geanyinsertnum/src/insertnum.c
@@ -17,6 +17,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <ctype.h>
#include <limits.h>
#include <stdlib.h>
View
4 geanylua/geanylua.c
@@ -30,6 +30,10 @@
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include "geany.h"
#include "plugindata.h"
View
4 geanylua/glspi.h
@@ -6,6 +6,10 @@
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <lua.h>
#include <lualib.h>
#include <lauxlib.h>
View
4 geanyprj/src/geanyprj.c
@@ -20,6 +20,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <sys/time.h>
#include <string.h>
View
4 gproject/src/gproject-main.c
@@ -16,6 +16,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <sys/time.h>
#include <string.h>
View
4 pretty-printer/src/PrettyPrinter.h
@@ -21,6 +21,10 @@
//========================================== INCLUDES ==========================================================
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
View
4 shiftcolumn/src/shiftcolumn.c
@@ -19,6 +19,10 @@
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include "geany.h"
#include "support.h"
View
4 spellcheck/src/scplugin.c
@@ -23,6 +23,10 @@
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include "geanyplugin.h"
View
4 treebrowser/src/treebrowser.c
@@ -4,6 +4,10 @@
* Copyright 2010 Adrian Dimitrov <dimitrov.adrian@gmail.com>
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <sys/types.h>
#include <sys/stat.h>
#include <string.h>
View
4 xmlsnippets/src/plugin.c
@@ -21,6 +21,10 @@
#ifndef TEST
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include "plugin.h"
#include "xmlsnippets.h"
#include <SciLexer.h>

0 comments on commit 032bd4c

Please sign in to comment.
Something went wrong with that request. Please try again.