Fix compilation for uclinux toolchain lacking <sys/timerfd.h>
Signed-off-by: Richard Cochran <richardcochran@gmail.com>master
parent
4d0b2e5001
commit
d6ce3fbb3d
|
@ -49,7 +49,11 @@ static inline int clock_adjtime(clockid_t id, struct timex *tx)
|
|||
return syscall(__NR_clock_adjtime, id, tx);
|
||||
}
|
||||
|
||||
#ifdef __uClinux__
|
||||
#ifndef __uClinux__
|
||||
|
||||
#include <sys/timerfd.h>
|
||||
|
||||
#else
|
||||
|
||||
static inline int timerfd_create(int clockid, int flags)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue