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:
Bruce Evans 2001-02-15 11:58:38 +00:00
parent 2ba5bb1ff5
commit 6c613605bc

View File

@ -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"