wpa_supplicant, eloop_register_timeout() and ntpdate

Johannes Berg johannes
Thu Nov 14 03:53:03 PST 2013


On Thu, 2013-11-14 at 10:36 +0100, Holger Schurig wrote:

> ../src/utils/os_unix.c:65:30: error: ?CLOCK_BOOTTIME? undeclared
> (first use in this function)

> Maybe something like
> 
> #ifndef CLOCK_BOOTTIME
> #define CLOCK_BOOTTIME 7
> #endif
> 
> will help?   The Linux kernel will return -EINVAL if the running
> kernel doesn't have CLOCK_BOOTTIME implemented, so it's save to wildly
> try that value.

Sure, something like that may well be needed.

johannes




More information about the Hostap mailing list