diff --git a/src/BufferView.cpp b/src/BufferView.cpp
index 27d1f1a5cc..abaa00fca0 100644
--- a/src/BufferView.cpp
+++ b/src/BufferView.cpp
@@ -39,7 +39,6 @@
 #include "LyXFunc.h"
 #include "Layout.h"
 #include "LyXRC.h"
-#include "MenuBackend.h"
 #include "MetricsInfo.h"
 #include "Paragraph.h"
 #include "paragraph_funcs.h"
diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp
index 85890fed8e..e4a1ebb742 100644
--- a/src/frontends/qt4/GuiView.cpp
+++ b/src/frontends/qt4/GuiView.cpp
@@ -45,7 +45,6 @@
 #include "LyX.h"
 #include "LyXRC.h"
 #include "LyXVC.h"
-#include "MenuBackend.h"
 #include "Paragraph.h"
 #include "TextClass.h"
 #include "Text.h"