aboutsummaryrefslogtreecommitdiffstats
path: root/src/compat.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2021-03-19 13:41:38 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2021-03-19 13:41:38 -0600
commit895a85337e3975fa7996fc1b3f23fb115a3ae998 (patch)
tree4fbfc42be994944cf794077af786e26dadf3fc48 /src/compat.h
parentif_wg: do not check for null M_NOWAIT return (diff)
downloadwireguard-freebsd-895a85337e3975fa7996fc1b3f23fb115a3ae998.tar.xz
wireguard-freebsd-895a85337e3975fa7996fc1b3f23fb115a3ae998.zip
compat: backport callout_func_t to 12.1
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/compat.h')
-rw-r--r--src/compat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compat.h b/src/compat.h
index 4ed5733..66798f9 100644
--- a/src/compat.h
+++ b/src/compat.h
@@ -85,4 +85,6 @@ static inline uint32_t arc4random_uniform(uint32_t bound)
return ret % bound;
}
+
+typedef void callout_func_t(void *);
#endif