Added missing '#include <config.h>' lines.
authorJohn Darrington <john@darrington.wattle.id.au>
Thu, 19 Mar 2009 22:10:31 +0000 (07:10 +0900)
committerJohn Darrington <john@darrington.wattle.id.au>
Thu, 19 Mar 2009 22:10:31 +0000 (07:10 +0900)
Added these missing #includes at top of *.c files.
Thanks to Michel Boaventura for reporting this.

lib/gtk-contrib/gtkxpaned.c
src/ui/gui/automake.mk
src/ui/gui/psppire-acr.c

index 5db3cceae1b4944ffa0f053b6739b7e015231b9c..e350295a3e3f40bbcf687ca3f3bcf7438bec217c 100644 (file)
@@ -29,6 +29,7 @@
 **
 *******************************************************************************/
 
+#include <config.h>
 #include "gtkxpaned.h"
 #include <ui/gui/psppire-marshal.h>
 #include <gtk/gtkbindings.h>
index 1a2b4af13113f08098b3be0a585e6444999dc1a7..0d3bbc187dbf86d9bd503e9ea8b0ac92f617fe9c 100644 (file)
@@ -252,7 +252,8 @@ PHONY += yelp-check
 AM_CPPFLAGS += -Isrc
 
 src/ui/gui/psppire-marshal.c: src/ui/gui/marshaller-list
-       glib-genmarshal --body --prefix=psppire_marshal $< > $@
+       echo '#include <config.h>' > $@
+       glib-genmarshal --body --prefix=psppire_marshal $< >> $@
 
 src/ui/gui/psppire-marshal.h: src/ui/gui/marshaller-list
        glib-genmarshal --header --prefix=psppire_marshal $< > $@
index b85229d2ea381540e7c13ce650da9312136b4f3c..c0988d84d7bffcafa00beaf21c3fd8f25902ec22 100644 (file)
@@ -34,6 +34,7 @@
 
 */
 
+#include <config.h>
 #include <gtk/gtk.h>
 
 #include "psppire-acr.h"