--- Source/JavaScriptCore/wtf/gobject/GOwnPtr.h.orig	2012-04-12 18:11:26.000000000 -0700
+++ Source/JavaScriptCore/wtf/gobject/GOwnPtr.h	2012-04-12 18:11:49.000000000 -0700
@@ -28,6 +28,9 @@
 #include <wtf/Assertions.h>
 #include <wtf/Noncopyable.h>
 
+#include <glib.h>
+#include <gio/gio.h>
+
 extern "C" void g_free(void*);
 
 namespace WTF {
