diff --git a/src/ui/event.hpp b/src/ui/event.hpp
index e90e0664da02c347c2c78d0920f340b9328979ec..d7a3ed819dad61382adb2eefc361cf22808206d7 100644
--- a/src/ui/event.hpp
+++ b/src/ui/event.hpp
@@ -2,6 +2,7 @@
 
 #include <memory>
 #include <string>
+#include <list>
 
 #include "ui/ui_context.hpp"