diff --git a/ChangeLog b/ChangeLog
index 4ebe75f4e..27b0e7a0f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-09-27  Matthew Allum  <mallum@openedhand.com>
+
+	* clutter/clutter-clone-texture.c:
+	* clutter/clutter-rectangle.c:
+	Include "config.h" in all c files (#524, Tommi Komulainen)
+
 2007-09-27  Matthew Allum  <mallum@openedhand.com>
 
 	Merge from stable.     
diff --git a/clutter/clutter-clone-texture.c b/clutter/clutter-clone-texture.c
index 9c0cce1d5..ebf0390db 100644
--- a/clutter/clutter-clone-texture.c
+++ b/clutter/clutter-clone-texture.c
@@ -31,6 +31,7 @@
  * #ClutterCloneTexture allows the cloning of existing #ClutterTexture based
  * actors whilst saving underlying graphics resources.
  */
+#include "config.h"
 
 #include "clutter-clone-texture.h"
 #include "clutter-main.h"
diff --git a/clutter/clutter-rectangle.c b/clutter/clutter-rectangle.c
index c07f8e511..c31ed3698 100644
--- a/clutter/clutter-rectangle.c
+++ b/clutter/clutter-rectangle.c
@@ -29,6 +29,7 @@
  *
  * #ClutterRectangle is an Actor which draws simple filled rectangles.
  */
+#include "config.h"
 
 #include "clutter-rectangle.h"
 #include "clutter-main.h"