diff --git a/build/bakefiles/common.bkl b/build/bakefiles/common.bkl
index 240c344f95..2ada7a726e 100644
--- a/build/bakefiles/common.bkl
+++ b/build/bakefiles/common.bkl
@@ -626,6 +626,8 @@ $(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\r
wxprec_$(id)
src/common/extended.c
+ src/gtk/eggtrayicon.c
+ src/gtk/treeentry_gtk.c
diff --git a/src/gtk/assertdlg_gtk.cpp b/src/gtk/assertdlg_gtk.cpp
index 2a80149a77..1ec690b733 100644
--- a/src/gtk/assertdlg_gtk.cpp
+++ b/src/gtk/assertdlg_gtk.cpp
@@ -7,6 +7,8 @@
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////// */
+#include "wx/wxprec.h"
+
#include "wx/platform.h"
#include
#include "wx/gtk/assertdlg_gtk.h"
diff --git a/src/gtk/win_gtk.cpp b/src/gtk/win_gtk.cpp
index 256e94f60c..d5c4a35386 100644
--- a/src/gtk/win_gtk.cpp
+++ b/src/gtk/win_gtk.cpp
@@ -7,6 +7,8 @@
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
+#include "wx/wxprec.h"
+
#include "wx/defs.h"
#include "wx/gtk/private.h"
#include "wx/gtk/private/win_gtk.h"