From: Dmitry Marakasov Date: Wed, 23 Oct 2019 18:28:55 +0000 (+0300) Subject: Fix build issue due to conflicting s64 type definitions (#9064) X-Git-Tag: 5.1.1~87 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=57409ef382509a4a293683b78b44816ee29bb8d4;p=oweals%2Fminetest.git Fix build issue due to conflicting s64 type definitions (#9064) See comment in irrlichttypes.h and https://sourceforge.net/p/irrlicht/bugs/433/ --- 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"