mirror of
https://github.com/sheumann/hush.git
synced 2024-09-12 15:54:56 +00:00
Eliminate dependancy on kernel header files. Naughty naughty.
Using linux kernel headers is a Bad Thing(tm) and should be punished. -Erik
This commit is contained in:
parent
39438c7c17
commit
8882ea53d5
@ -30,10 +30,15 @@
|
||||
#include <fcntl.h>
|
||||
#include <sys/time.h>
|
||||
#include <time.h>
|
||||
#include <linux/rtc.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include "busybox.h"
|
||||
|
||||
|
||||
/* Copied from linux/rtc.h to eliminate the kernel dependancy */
|
||||
#define RTC_SET_TIME _IOW('p', 0x0a, struct tm) /* Set RTC time */
|
||||
#define RTC_RD_TIME _IOR('p', 0x09, struct tm) /* Read RTC time */
|
||||
|
||||
|
||||
#ifdef CONFIG_FEATURE_HWCLOCK_LONGOPTIONS
|
||||
# ifndef _GNU_SOURCE
|
||||
# define _GNU_SOURCE
|
||||
|
Loading…
Reference in New Issue
Block a user