diff --git a/autosave.h b/autosave.h index f0a207ac47..b9a9e8e745 100644 --- a/autosave.h +++ b/autosave.h @@ -23,8 +23,6 @@ RETRO_BEGIN_DECLS -typedef struct autosave autosave_t; - /** * autosave_lock: * diff --git a/tasks/task_save_ram.c b/tasks/task_save_ram.c index fc7f8a5e27..2dcf04524a 100644 --- a/tasks/task_save_ram.c +++ b/tasks/task_save_ram.c @@ -44,6 +44,8 @@ struct ram_type }; #ifdef HAVE_THREADS +typedef struct autosave autosave_t; + /* Autosave support. */ struct autosave_st {