Commit Graph

2 Commits

Author SHA1 Message Date
Jason A. Donenfeld 3874141edd compat: backport to FreeBSD 12.2
This should allow us to get more testing coverage earlier.

This port here is also a bit janky. I really don't like the taskqgroup
business, having to copy and paste those structs. And this isn't well
tested, either. But, it's a start.

This distinguishes between compat.h and support.h, though both header
files are intended to operate in more or less the same way.  It's
important to keep some discipline between things that we're backporting
and things that aren't _yet_ upstream or are shims for OpenBSD.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-03-18 09:00:52 -06:00
Jason A. Donenfeld 8e0470dabb support: prepare for out of tree builds
This involves weird backporting things. Hopefully support.c here is not
as bad as compat.h on Linux.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-03-17 10:13:22 -06:00