Fix node-driver.c build on FreeBSD.

This commit is contained in:
Gleb Popov 2023-03-15 17:59:57 +03:00 committed by Wim Taymans
parent b9c86f337d
commit a83d3b0249

View file

@ -88,9 +88,13 @@ static const struct clock_info {
clockid_t id;
} clock_info[] = {
{ "realtime", CLOCK_REALTIME },
#ifdef CLOCK_TAI
{ "tai", CLOCK_TAI },
#endif
{ "monotonic", CLOCK_MONOTONIC },
#ifdef CLOCK_MONOTONIC_RAW
{ "monotonic-raw", CLOCK_MONOTONIC_RAW },
#endif
{ "boottime", CLOCK_BOOTTIME },
};