[gtksourceview] Avoid macro redefinition warning



commit 7bcc0b9fe65d3e5770a733dedfe8591b14623e80
Author: Paolo Borelli <pborelli gnome org>
Date:   Tue Dec 8 12:13:06 2015 +0100

    Avoid macro redefinition warning

 gtksourceview/gtksourcebufferinputstream.c  |    4 ++++
 gtksourceview/gtksourcebufferoutputstream.c |    4 ++++
 2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/gtksourceview/gtksourcebufferinputstream.c b/gtksourceview/gtksourcebufferinputstream.c
index b7522a6..53ad375 100644
--- a/gtksourceview/gtksourcebufferinputstream.c
+++ b/gtksourceview/gtksourcebufferinputstream.c
@@ -20,6 +20,10 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <glib.h>
 #include <gio/gio.h>
 #include <string.h>
diff --git a/gtksourceview/gtksourcebufferoutputstream.c b/gtksourceview/gtksourcebufferoutputstream.c
index 365ae98..81d7149 100644
--- a/gtksourceview/gtksourcebufferoutputstream.c
+++ b/gtksourceview/gtksourcebufferoutputstream.c
@@ -20,6 +20,10 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <string.h>
 #include <errno.h>
 #include "gtksourcebufferoutputstream.h"


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