]> git.lizzy.rs Git - minetest.git/blobdiff - src/mods.cpp
Rollback: Fail on bad precondition instead of causing assertion error
[minetest.git] / src / mods.cpp
index cb5a6b9fd265ff6fd8a42f6359d9747731bf07c8..a81dd46045d48fdc7d66ce6875052f9fd451723a 100644 (file)
@@ -17,15 +17,15 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */
 
+#include <cctype>
+#include <fstream>
 #include "mods.h"
-#include "main.h"
 #include "filesys.h"
 #include "strfnd.h"
 #include "log.h"
 #include "subgame.h"
 #include "settings.h"
 #include "strfnd.h"
-#include <cctype>
 #include "convert_json.h"
 
 static bool parseDependsLine(std::istream &is,