import less(1)
[unleashed/tickless.git] / bin / less / compat / include / sys / time.h
blob592f647ccba7d06610fd795b951361423309684e
1 #ifndef COMPAT_SYS_TIME_H
2 #define COMPAT_SYS_TIME_H
3 #include_next <sys/time.h>
4 #define timespeccmp(tsp, usp, cmp) \
5 (((tsp)->tv_sec == (usp)->tv_sec) ? \
6 ((tsp)->tv_nsec cmp (usp)->tv_nsec) : \
7 ((tsp)->tv_sec cmp (usp)->tv_sec))
8 #endif