make it possible to start supertux from top soruce directory
[supertux.git] / lib / app / globals.cpp
index b363ec0..81ca98e 100644 (file)
@@ -18,6 +18,8 @@
 //  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 //  02111-1307, USA.
 
+#include <config.h>
+
 #include "../app/globals.h"
 
 namespace SuperTux {
@@ -58,7 +60,7 @@ bool launch_worldmap_mode = false;
 bool flip_levels_mode = false;
 
 /* SuperTux directory ($HOME/.supertux) and save directory($HOME/.supertux/save) */
-char *st_dir, *st_save_dir;
+std::string st_dir, st_save_dir;
 
 SDL_Joystick * js;