Skip to content

Commit

Permalink
Revert "Delete unused includes"
Browse files Browse the repository at this point in the history
This reverts commit 82d109f.
  • Loading branch information
wrrrzr committed Jan 28, 2025
1 parent 53b2c39 commit 1e347eb
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/chat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@

#include <algorithm>
#include <cctype>
#include <sstream>

#include "config.h"
#include "debug.h"
#include "settings.h"
#include "util/strfnd.h"
Expand Down
1 change: 1 addition & 0 deletions src/content_mapnode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include "mapnode.h"
#include "nodedef.h"
#include "nameidmapping.h"
#include "util/string.h"

/*
Legacy node content type IDs
Expand Down
1 change: 1 addition & 0 deletions src/content_nodemeta.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include "inventory.h"
#include "log.h"
#include "debug.h"
#include "serialization.h"
#include "util/serialize.h"
#include "util/string.h"
#include "constants.h" // MAP_BLOCKSIZE
Expand Down
2 changes: 2 additions & 0 deletions src/craftdef.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@
#include <queue>
#include "gamedef.h"
#include "inventory.h"
#include "util/serialize.h"
#include "util/string.h"
#include "util/numeric.h"
#include "util/strfnd.h"
#include "exceptions.h"

inline bool isGroupRecipeStr(const std::string &rec_name)
{
Expand Down
5 changes: 5 additions & 0 deletions src/debug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,16 @@
// Copyright (C) 2013 celeron55, Perttu Ahola <[email protected]>


#include "porting.h"
#include "debug.h"
#include "exceptions.h"
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <map>
#include <sstream>
#include <thread>
#include "threading/mutex_auto_lock.h"
#include "config.h"

#ifdef _MSC_VER
Expand Down
4 changes: 4 additions & 0 deletions src/emerge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,21 @@

#include <iostream>

#include "util/container.h"
#include "config.h"
#include "constants.h"
#include "environment.h"
#include "irrlicht_changes/printing.h"
#include "filesys.h"
#include "log.h"
#include "servermap.h"
#include "database/database.h"
#include "mapblock.h"
#include "mapgen/mg_biome.h"
#include "mapgen/mg_ore.h"
#include "mapgen/mg_decoration.h"
#include "mapgen/mg_schematic.h"
#include "nodedef.h"
#include "profiler.h"
#include "scripting_server.h"
#include "scripting_emerge.h"
Expand Down

0 comments on commit 1e347eb

Please sign in to comment.