Author: ngie
Date: Thu Apr  6 02:03:35 2017
New Revision: 316549
URL: https://svnweb.freebsd.org/changeset/base/316549

Log:
  Add sys/types.h #include to EXAMPLE to provide a complete functional
  standalone example program
  
  MFC after:    2 months
  Sponsored by: Dell EMC Isilon

Modified:
  head/share/man/man9/sbuf.9

Modified: head/share/man/man9/sbuf.9
==============================================================================
--- head/share/man/man9/sbuf.9  Thu Apr  6 01:37:03 2017        (r316548)
+++ head/share/man/man9/sbuf.9  Thu Apr  6 02:03:35 2017        (r316549)
@@ -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;
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to