statzone

DNS zone file analyzer targeted at TLD zones
Log | Files | Refs | README | LICENSE

commit 9d91e7e87b791e281f07d5a19117b1ebc7a6ec73
parent 1eb968a24dd16489f4e8389c42550f3d2e961127
Author: Frederic Cambus <fred@statdns.com>
Date:   Sat, 23 May 2020 11:33:58 +0200

Use CLOCK_REALTIME if CLOCK_MONOTONIC is not available.

Diffstat:
Mcompat/compat.h | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/compat/compat.h b/compat/compat.h @@ -5,6 +5,11 @@ #include "pledge.h" #endif +/* Use CLOCK_REALTIME if CLOCK_MONOTONIC is not available */ +#ifndef CLOCK_MONOTONIC +#define CLOCK_MONOTONIC CLOCK_REALTIME +#endif + #ifndef timespecsub #define timespecsub(tsp, usp, vsp) \ do { \