Provide a comment on why stdio.h needs to be included.

This commit is contained in:
Scott Long 2017-02-28 21:27:51 +00:00
parent c4e929946c
commit 38e41e66e5

View File

@ -76,6 +76,13 @@ __FBSDID("$FreeBSD$");
#include <machine/stdarg.h>
#else
#include <stdarg.h>
#endif
/*
* This is needed for sbuf_putbuf() when compiled into userland. Due to the
* shared nature of this file, it's the only place to put it.
*/
#ifndef _KERNEL
#include <stdio.h>
#endif