summaryrefslogtreecommitdiff
path: root/src/client/gameui.h
diff options
context:
space:
mode:
authorVitaliy <numzer0@yandex.ru>2021-01-28 23:25:13 +0300
committerGitHub <noreply@github.com>2021-01-28 21:25:13 +0100
commited0882fd58fb0f663cc115d23a11643874facc06 (patch)
treea7bb915154263deb3c37e272ff578ef8eda932b8 /src/client/gameui.h
parent82deed2d7d5573f1fa463516732475563da59569 (diff)
downloadminetest-ed0882fd58fb0f663cc115d23a11643874facc06.tar.gz
minetest-ed0882fd58fb0f663cc115d23a11643874facc06.tar.bz2
minetest-ed0882fd58fb0f663cc115d23a11643874facc06.zip
Include irrlichttypes.h first to work around Irrlicht#433 (#10872)
Fixes the PcgRandom::PcgRandom linker issue, caused by inconsistent data type definition.
Diffstat (limited to 'src/client/gameui.h')
-rw-r--r--src/client/gameui.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/gameui.h b/src/client/gameui.h
index 67c6a9921..b6c8a224d 100644
--- a/src/client/gameui.h
+++ b/src/client/gameui.h
@@ -20,6 +20,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#pragma once
+#include "irrlichttypes.h"
#include <IGUIEnvironment.h>
#include "gui/guiFormSpecMenu.h"
#include "util/enriched_string.h"