summaryrefslogtreecommitdiff
path: root/modules/gdnative/godot
diff options
context:
space:
mode:
authorKarroffel <therzog@mail.de>2017-08-04 03:26:32 +0200
committerKarroffel <therzog@mail.de>2017-08-04 03:26:32 +0200
commitab3b1e67c7901c279268f58ca9e3e0d7909717c0 (patch)
tree03f49fa587ca389119c1dc5fa44b69150d7ae0fe /modules/gdnative/godot
parentc143f86968c512649651c823a688b410c6b52c52 (diff)
[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
Diffstat (limited to 'modules/gdnative/godot')
-rw-r--r--modules/gdnative/godot/dictionary.cpp3
1 files changed, 2 insertions, 1 deletions
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 <godot/dictionary.h>
+#include "core/variant.h"
+
#include "core/dictionary.h"
#include "core/io/json.h"
-#include "core/variant.h"
#ifdef __cplusplus
extern "C" {