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:
bde 2001-02-15 11:58:38 +00:00
parent 4cfcac144d
commit 096a6c0dc7

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