diff --git a/core/method_bind.cpp b/core/method_bind.cpp index 93fa32af62f..8e3ae304cb1 100644 --- a/core/method_bind.cpp +++ b/core/method_bind.cpp @@ -26,9 +26,11 @@ /* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ +// object.h needs to be the first include *before* method_bind.h +// FIXME: Find out why and fix potential cyclical dependencies. #include "object.h" -#include "method_bind.h" +#include "method_bind.h" #ifdef DEBUG_METHODS_ENABLED PropertyInfo MethodBind::get_argument_info(int p_argument) const {