Added AROS includes for RTC

This commit is contained in:
llsth 2015-03-17 19:28:07 +01:00
parent 9b99c93220
commit 95ddf9b3da
1 changed files with 15 additions and 2 deletions

View File

@ -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)