Fixed missing include in synopsis.
Added evil #define of ACCEPT_FILTER_MODULE to synopsis. Some of the functions defined in this man page aren't declared unless ACCEPT_FILTER_MOD is defined before including <sys/socketvar.h>.
This commit is contained in:
parent
2ba5bb1ff5
commit
6c613605bc
@ -37,7 +37,9 @@
|
||||
.Nd filter incoming connections
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <sys/types.h>
|
||||
.Fd #include <sys/module.h>
|
||||
.Fd #include <sys/socket.h>
|
||||
.Fd #define ACCEPT_FILTER_MOD
|
||||
.Fd #include <sys/socketvar.h>
|
||||
.Ft int
|
||||
.Fn accept_filt_add "struct accept_filter *filt"
|
||||
|
Loading…
Reference in New Issue
Block a user