diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 46d1f6e4b..9564c36bf 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -3,6 +3,7 @@ D1X-Rebirth Changelog 20120330 -------- 2d/font.c, include/gr.h: Make 2d/font.c more similar between d1x-rebirth and d2x-rebirth +arch/include/event.h: Changed declaration of event_get_idle_second() from int32_t to fix since Windows does not know it without pstypes.h. Included maths.h for this but should now work flawlessly on all platforms 20120329 -------- diff --git a/arch/include/event.h b/arch/include/event.h index 591eeebbb..5ca39c3f7 100644 --- a/arch/include/event.h +++ b/arch/include/event.h @@ -2,6 +2,7 @@ #ifndef _EVENT_H #define _EVENT_H +#include "maths.h" typedef enum event_type { @@ -63,6 +64,6 @@ void event_toggle_focus(int activate_focus); // See how long we were idle for void event_reset_idle_seconds(); -int32_t event_get_idle_seconds(); +fix event_get_idle_seconds(); #endif