--- ./server/gam_node.c.orig 2007-07-04 16:36:49.000000000 +0300 +++ ./server/gam_node.c 2014-12-25 04:59:21.000000000 +0200 @@ -23,6 +23,7 @@ #include "gam_event.h" #include "gam_node.h" #include "gam_error.h" +#include "gam_server.h" /** * Create a new node @@ -122,7 +123,7 @@ * it has finished with the string. If it must keep it longer, it * should makes its own copy. The returned string must not be freed. */ -G_CONST_RETURN char * +const char * gam_node_get_path(GamNode * node) { g_assert(node);