aboutsummaryrefslogtreecommitdiff
path: root/src/script
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2021-05-03 10:27:00 +0200
committerLoïc Blot <nerzhul@users.noreply.github.com>2021-05-03 19:49:19 +0200
commitde85bc9227ef0db01854fa0eef89256646b4d578 (patch)
tree9fa8a8e9d47178b830b3ac5ccc84af0546d14540 /src/script
parent48d5abd5bee7a3f956cb2b92745bed6313cf5d8a (diff)
downloadhax-minetest-server-de85bc9227ef0db01854fa0eef89256646b4d578.tar.gz
hax-minetest-server-de85bc9227ef0db01854fa0eef89256646b4d578.zip
fix: some code tidy about includes & irr namespaces
Diffstat (limited to 'src/script')
-rw-r--r--src/script/common/c_content.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/script/common/c_content.h b/src/script/common/c_content.h
index f54490e3a..4dc614706 100644
--- a/src/script/common/c_content.h
+++ b/src/script/common/c_content.h
@@ -39,6 +39,8 @@ extern "C" {
#include "itemgroup.h"
#include "itemdef.h"
#include "c_types.h"
+// We do a explicit path include because by default c_content.h include src/client/hud.h
+// prior to the src/hud.h, which is not good on server only build
#include "../../hud.h"
namespace Json { class Value; }