summaryrefslogtreecommitdiffstats
path: root/modules/gdnative/godot/color.h
diff options
context:
space:
mode:
authorKarroffel <therzog@mail.de>2017-08-02 02:46:45 +0200
committerKarroffel <therzog@mail.de>2017-08-02 03:50:33 +0200
commit880048377de06c7e34cbfadd68bad2eb3ca17b3d (patch)
tree18d43448cb6ac749b64502d345039a85ded8696c /modules/gdnative/godot/color.h
parent3a3915b72628dc12e4b79157861ec2ea910c1f31 (diff)
downloadredot-engine-880048377de06c7e34cbfadd68bad2eb3ca17b3d.tar.gz
[GDNative] better header include paths
The old include paths caused some problems on some compilers, for example including "string.h" was ambiguous.
Diffstat (limited to 'modules/gdnative/godot/color.h')
-rw-r--r--modules/gdnative/godot/color.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gdnative/godot/color.h b/modules/gdnative/godot/color.h
index 77e709fbe3..2cd6b48b48 100644
--- a/modules/gdnative/godot/color.h
+++ b/modules/gdnative/godot/color.h
@@ -45,8 +45,8 @@ typedef struct {
} godot_color;
#endif
-#include "gdnative.h"
-#include "string.h"
+#include <godot/gdnative.h>
+#include <godot/string.h>
void GDAPI godot_color_new_rgba(godot_color *r_dest, const godot_real p_r, const godot_real p_g, const godot_real p_b, const godot_real p_a);
void GDAPI godot_color_new_rgb(godot_color *r_dest, const godot_real p_r, const godot_real p_g, const godot_real p_b);