diff --git a/doc/reference/Makefile.am b/doc/reference/Makefile.am
index f411e2629..37b6634a0 100644
--- a/doc/reference/Makefile.am
+++ b/doc/reference/Makefile.am
@@ -79,8 +79,6 @@ IGNORE_HFILES= \
iconcache.h \
inlinepixbufs.h \
keybindings-private.h \
- menu.h \
- metaaccellabel.h \
meta-background-actor-private.h \
meta-background-group-private.h \
meta-module.h \
diff --git a/src/ui/frames.c b/src/ui/frames.c
index 3ba21dd0e..fd223d79b 100644
--- a/src/ui/frames.c
+++ b/src/ui/frames.c
@@ -28,7 +28,6 @@
#include "frames.h"
#include
#include "core.h"
-#include "menu.h"
#include
#include
#include "ui.h"
diff --git a/src/ui/ui.c b/src/ui/ui.c
index b0300518b..d5a650f77 100644
--- a/src/ui/ui.c
+++ b/src/ui/ui.c
@@ -24,7 +24,6 @@
#include "ui.h"
#include "frames.h"
#include
-#include "menu.h"
#include "core.h"
#include "theme-private.h"