mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04: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:
parent
5b424cba0a
commit
07f862a769
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue