aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@amdmi3.ru>2019-10-23 21:28:55 +0300
committerSmallJoker <SmallJoker@users.noreply.github.com>2019-10-23 20:28:55 +0200
commit2ecf57c640ed7646be91ebc30e6f8fb32dac77df (patch)
treef2962b3d3f3df1a8b5797abb4f663d6b8ffffd9b
parent904b05b0d31c707a7ecee8ca55c43a491d26439d (diff)
downloadminetest-2ecf57c640ed7646be91ebc30e6f8fb32dac77df.tar.gz
minetest-2ecf57c640ed7646be91ebc30e6f8fb32dac77df.tar.bz2
minetest-2ecf57c640ed7646be91ebc30e6f8fb32dac77df.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"