Commit Graph

6 Commits

Author SHA1 Message Date
Jason A. Donenfeld ccf37db6e6 build: include compat.h for all files
54b2075 ("build: only include compat.h for if_wg.c and fix build with an
obj directory") scoped compat.h to if_wg.c, which broke building on
12.3.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2022-06-10 23:37:49 +02:00
Jason A. Donenfeld 0de29313dd ci: test on 12.1 and 12.2
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-06-01 15:27:11 +02:00
Jason A. Donenfeld 7d1aadc881 README: separate build stage
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-03-23 12:23:11 -06:00
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
Jason A. Donenfeld 362884e650 Initial import
There's still more to do with wiring this up properly.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-03-17 09:35:54 -06:00