Use local definitions for the ioctl codes needed to access the RTC. Note : not tested. Some architectures not handled yet.