Added AROS includes for RTC
This commit is contained in:
parent
9b99c93220
commit
95ddf9b3da
17
time_amiga.c
17
time_amiga.c
|
@ -40,6 +40,21 @@
|
|||
#include <devices/timer.h>
|
||||
#include <signal.h>
|
||||
|
||||
#ifdef AROS
|
||||
#include <exec/types.h>
|
||||
#include <dos/dosextens.h>
|
||||
#include <dos/rdargs.h>
|
||||
#include <devices/timer.h>
|
||||
#include <libraries/locale.h>
|
||||
#include <utility/tagitem.h>
|
||||
|
||||
#include <proto/exec.h>
|
||||
#include <proto/dos.h>
|
||||
#include <proto/battclock.h>
|
||||
#include <proto/locale.h>
|
||||
#include <proto/timer.h>
|
||||
#endif
|
||||
|
||||
#ifdef Debug
|
||||
#undef Debug
|
||||
#endif
|
||||
|
@ -292,11 +307,9 @@ int amiga_set_time(struct timeval *tv)
|
|||
|
||||
void amiga_save_time(void)
|
||||
{
|
||||
#ifndef AROS
|
||||
struct timeval tv;
|
||||
amiga_get_time(&tv);
|
||||
WriteBattClock(tv.tv_secs);
|
||||
#endif
|
||||
}
|
||||
|
||||
void amiga_sync_time(int seconds)
|
||||
|
|
Loading…
Reference in New Issue