--- a/Sluift/main.cpp
+++ b/Sluift/main.cpp
@@ -20,6 +20,7 @@
#include <Sluift/StandardTerminal.h>
#include <Sluift/sluift.h>
#include <Sluift/Lua/LuaUtils.h>
+#include <iostream>
#ifdef HAVE_EDITLINE
#include <Sluift/EditlineTerminal.h>
#endif