--- KoboDeluxe-0.4pre10/gamestate.h.orig 2006-03-19 16:06:44.000000000 +0100 +++ KoboDeluxe-0.4pre10/gamestate.h 2006-03-19 16:06:50.000000000 +0100 @@ -24,6 +24,8 @@ #include "window.h" +class gamestatemanager_t; + class gamestate_t { friend class gamestatemanager_t;