]> git.lizzy.rs Git - minetest.git/commitdiff
Fix build issue due to conflicting s64 type definitions (#9064)
authorDmitry Marakasov <amdmi3@amdmi3.ru>
Wed, 23 Oct 2019 18:28:55 +0000 (21:28 +0300)
committerrubenwardy <rw@rubenwardy.com>
Tue, 31 Dec 2019 21:31:52 +0000 (21:31 +0000)
See comment in irrlichttypes.h and https://sourceforge.net/p/irrlicht/bugs/433/

src/main.cpp

index 4629f92ce852a2c6251cde53275d4eb19a182d69..1993f7c248f9be3af6bcfed4acc9b7f499d86abf 100644 (file)
@@ -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"