diff --git a/src/bytecode.c b/src/bytecode.c
index 1da2ecba071..debb08c2347 100644
--- a/src/bytecode.c
+++ b/src/bytecode.c
@@ -20,12 +20,8 @@ along with GNU Emacs. If not, see . */
#include
#include "lisp.h"
-#include "blockinput.h"
#include "sysstdio.h"
-#include "character.h"
#include "buffer.h"
-#include "keyboard.h"
-#include "syntax.h"
#include "window.h"
/* Define BYTE_CODE_SAFE true to enable some minor sanity checking,