aboutsummaryrefslogtreecommitdiff
path: root/src/gui
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/gui
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/gui')
-rw-r--r--src/gui/guiEditBox.h1
-rw-r--r--src/gui/touchscreengui.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/guiEditBox.h b/src/gui/guiEditBox.h
index a20eb61d7..c616d75d1 100644
--- a/src/gui/guiEditBox.h
+++ b/src/gui/guiEditBox.h
@@ -19,6 +19,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#pragma once
+#include "irrlichttypes.h"
#include "IGUIEditBox.h"
#include "IOSOperator.h"
#include "guiScrollBar.h"
diff --git a/src/gui/touchscreengui.h b/src/gui/touchscreengui.h
index 761d33207..0349624fa 100644
--- a/src/gui/touchscreengui.h
+++ b/src/gui/touchscreengui.h
@@ -18,6 +18,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#pragma once
+#include "irrlichttypes.h"
#include <IEventReceiver.h>
#include <IGUIButton.h>
#include <IGUIEnvironment.h>