diff --git a/generate_game_infos/generate_game_infos.cpp b/generate_game_infos/generate_game_infos.cpp index 43eb086..00e1e0b 100644 --- a/generate_game_infos/generate_game_infos.cpp +++ b/generate_game_infos/generate_game_infos.cpp @@ -250,7 +250,7 @@ static bool create_directory(std::string const& strPath) static bool create_directory(std::string const& strPath) { - stat sb; + struct stat sb; if (stat(strPath.c_str(), &sb) != 0) {