diff --git a/aegisub/src/hotkey.cpp b/aegisub/src/hotkey.cpp
index bb60674e1061a1ca9b2e27075953346ca508be13..7fe9ae73a2f5f976629b2105fac6178c179404a8 100644
--- a/aegisub/src/hotkey.cpp
+++ b/aegisub/src/hotkey.cpp
@@ -31,6 +31,8 @@
 
 #include <boost/range/algorithm/find.hpp>
 #include <boost/range/iterator_range.hpp>
+#include <wx/intl.h>
+#include <wx/msgdlg.h>
 
 namespace {
 	const char *added_hotkeys_7035[][5] = {