Went to build the example in man 4 pf and believe it needs a diff

Index: pf.4
===================================================================
RCS file: /cvs/src/share/man/man4/pf.4,v
retrieving revision 1.85
diff -u -p -r1.85 pf.4
--- pf.4        18 Apr 2014 21:42:04 -0000      1.85
+++ pf.4        12 Oct 2015 17:09:46 -0000
@@ -1005,10 +1005,12 @@ The following example demonstrates how t
 .Dv DIOCGETLIMIT
 command to show the hard limit of a memory pool used by the packet filter:
 .Bd -literal
+#include <netinet/in.h>
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <sys/ioctl.h>
 #include <sys/fcntl.h>
+#include <sys/limits.h>
 #include <net/if.h>
 #include <net/pfvar.h>
 #include <stdio.h>

--
Jack J. Woehr     # Science is more than a body of knowledge. It's a way of
www.well.com/~jax # thinking, a way of skeptically interrogating the universe
www.softwoehr.com # with a fine understanding of human fallibility. - Carl Sagan

Reply via email to