From ab3b1e67c7901c279268f58ca9e3e0d7909717c0 Mon Sep 17 00:00:00 2001 From: Karroffel Date: Fri, 4 Aug 2017 03:26:32 +0200 Subject: [GDNative] fixed a bug with ambiguous include paths fixes #10071. The problem is that the json.h file includes the local variant.h instead of the "absolute" core/variant.h --- modules/gdnative/godot/dictionary.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/gdnative/godot/dictionary.cpp b/modules/gdnative/godot/dictionary.cpp index ce402fa008..b92c8125bb 100644 --- a/modules/gdnative/godot/dictionary.cpp +++ b/modules/gdnative/godot/dictionary.cpp @@ -29,9 +29,10 @@ /*************************************************************************/ #include +#include "core/variant.h" + #include "core/dictionary.h" #include "core/io/json.h" -#include "core/variant.h" #ifdef __cplusplus extern "C" { -- cgit v1.2.3