Browse Source

Merge pull request #10072 from karroffel/gdnative-header-include-paths

[GDNative] fixed a bug with ambiguous include paths
Thomas Herzog 8 năm trước cách đây
mục cha
commit
211dfa6602

+ 2 - 1
modules/gdnative/godot/dictionary.cpp

@@ -29,9 +29,10 @@
 /*************************************************************************/
 /*************************************************************************/
 #include <godot/dictionary.h>
 #include <godot/dictionary.h>
 
 
+#include "core/variant.h"
+
 #include "core/dictionary.h"
 #include "core/dictionary.h"
 #include "core/io/json.h"
 #include "core/io/json.h"
-#include "core/variant.h"
 
 
 #ifdef __cplusplus
 #ifdef __cplusplus
 extern "C" {
 extern "C" {