missing: add SIOCGHWTSTAMP to missing.h

In order to allow hwtstamp_ctl to use the non-destructive SIOCGHWTSTAMP
ioctl, we need to add it to missing.h, in order to prevent build failure
on older kernels which don't have this support.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
master
Jacob Keller 2014-05-27 10:34:35 -07:00 committed by Richard Cochran
parent 8a92b1292c
commit 5e8a34f0b4
1 changed files with 4 additions and 0 deletions

View File

@ -50,6 +50,10 @@ enum _missing_hwtstamp_tx_types {
};
#endif
#ifndef SIOCGHWTSTAMP
#define SIOCGHWTSTAMP 0x89b1
#endif
#ifndef HAVE_CLOCK_ADJTIME
static inline int clock_adjtime(clockid_t id, struct timex *tx)
{