Add a macro for ADJ_TAI used when missing from the tool chain headers.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
master
Richard Cochran 2014-06-22 09:22:54 +02:00
parent 9710fb1a22
commit 07edab48dc
1 changed files with 4 additions and 0 deletions

View File

@ -28,6 +28,10 @@
#include <sys/timex.h> #include <sys/timex.h>
#include <unistd.h> #include <unistd.h>
#ifndef ADJ_TAI
#define ADJ_TAI 0x0080
#endif
#ifndef ADJ_NANO #ifndef ADJ_NANO
#define ADJ_NANO 0x2000 #define ADJ_NANO 0x2000
#endif #endif