1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 15:07:44 +00:00

Ports: Fix building openssh

This fixes a spelling mistake in the timespeccmp() macro and
enables debug symbols for OpenSSH to make diagnosing problems
easier.
This commit is contained in:
Gunnar Beutner 2021-04-25 07:22:35 +02:00 committed by Andreas Kling
parent 898e9492f7
commit f89c60664c
2 changed files with 2 additions and 2 deletions

View file

@ -111,6 +111,6 @@ static inline void TIMESPEC_TO_TIMEVAL(struct timeval* tv, const struct timespec
#define timespecclear timespecclear
#define timespecisset timespecisset
#define timespeccmp(ts, us, cmp) \
(((ts)->tv_sec == (us)->tv_sec) ? ((ts)->vf_nsec cmp(us)->tv_nsec) : ((ts)->tv_sec cmp(us)->tv_sec))
(((ts)->tv_sec == (us)->tv_sec) ? ((ts)->tv_nsec cmp(us)->tv_nsec) : ((ts)->tv_sec cmp(us)->tv_sec))
__END_DECLS