Add sys/types.h #include to EXAMPLE to provide a complete functional

standalone example program

MFC after:	2 months
Sponsored by:	Dell EMC Isilon
This commit is contained in:
Enji Cooper
2017-04-06 02:03:35 +00:00
parent e2a212c1fb
commit 7beb104d30
+2 -1
View File
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
.Dd March 14, 2015
.Dd April 5, 2017
.Dt SBUF 9
.Os
.Sh NAME
@@ -567,6 +567,7 @@ function (the userland version)
will return zero for success and \-1 and set errno on error.
.Sh EXAMPLES
.Bd -literal -compact
#include <sys/types.h>
#include <sys/sbuf.h>
struct sbuf *sb;