xref: /freebsd/sys/dev/wg/compat.h (revision 854d066251a9e1731993416b1934e2002a29d395)
1 /* SPDX-License-Identifier: MIT
2  *
3  * Copyright (C) 2021 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
4  * Copyright (c) 2022 The FreeBSD Foundation
5  *
6  * compat.h contains code that is backported from FreeBSD's main branch.
7  * It is different from support.h, which is for code that is not _yet_ upstream.
8  */
9 
10 #include <sys/param.h>
11 
12 #define COMPAT_NEED_BLAKE2S
13 
14 #if __FreeBSD_version < 1400059
15 #include <sys/sockbuf.h>
16 #define sbcreatecontrol(a, b, c, d, e) sbcreatecontrol(a, b, c, d)
17 #endif
18