aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@amdmi3.ru>2019-10-23 21:28:55 +0300
committerrubenwardy <rw@rubenwardy.com>2019-12-31 21:31:52 +0000
commit57409ef382509a4a293683b78b44816ee29bb8d4 (patch)
treea48cad278a797368c4fb9c12d898f5372f4a2a87
parent06ba82680312ef3836ec759ae603289a20ea42ec (diff)
downloadminetest-57409ef382509a4a293683b78b44816ee29bb8d4.tar.gz
minetest-57409ef382509a4a293683b78b44816ee29bb8d4.tar.bz2
minetest-57409ef382509a4a293683b78b44816ee29bb8d4.zip
Fix build issue due to conflicting s64 type definitions (#9064)
See comment in irrlichttypes.h and https://sourceforge.net/p/irrlicht/bugs/433/
-rw-r--r--src/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 4629f92ce..1993f7c24 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -17,6 +17,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#include "irrlichttypes.h" // must be included before anything irrlicht, see comment in the file
#include "irrlicht.h" // createDevice
#include "irrlichttypes_extrabloated.h"
#include "chat_interface.h"