1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-06 13:09:50 +00:00

Include <stdarg.h> instead of <machine/stdarg.h> when compiled as

part of libsbuf. The former is the standard header, and allows us
to compile libsbuf on macOS/linux.
This commit is contained in:
Marcel Moolenaar 2016-10-24 18:03:04 +00:00
parent 5b424cba0a
commit 07f862a769
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=307873

View File

@ -72,7 +72,11 @@ __FBSDID("$FreeBSD$");
* Note that stdarg.h and the ANSI style va_start macro is used for both
* ANSI and traditional C compilers.
*/
#ifdef _KERNEL
#include <machine/stdarg.h>
#else
#include <stdarg.h>
#endif
#ifdef _KERNEL