Closed michaelortmann closed 2 weeks ago
What was broken was --disable-tls and --disable-tdns in combination. ssl.h includes time.h and tdns includes pthread.h which includes time.h so it was implicitely included, but we need to include it unconditionally for our stuff, too.
Found by: thommey Patch by: michaelortmann Fixes:
One-line summary: Fix include sys/time.h and time.h. Both are POSIX 2001
Additional description (if needed): Please run misc/runautotools when merging this PR
Test cases demonstrating functionality (if applicable): The following bug is fixed by this PR:
Tested on GNU/Linux, FreeBSD 14.1 and NetBSD 9.3