From 478e3ecf8bc98687a336a64214c0e5e122454f52 Mon Sep 17 00:00:00 2001 From: alaviss Date: Thu, 6 Jul 2017 00:39:13 +0700 Subject: [PATCH] Musl libc fixes Musl libc's doesn't include , which cause `va_start` and `va_end` end up being undefined symbols. Reviewed-by: Brian Behlendorf Reviewed-by: George Melikov Signed-off-by: Leorize Closes #6310 --- lib/libspl/include/assert.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/libspl/include/assert.h b/lib/libspl/include/assert.h index 6237d6bcff..b539420947 100644 --- a/lib/libspl/include/assert.h +++ b/lib/libspl/include/assert.h @@ -31,6 +31,7 @@ #include #include +#include static inline int libspl_assert(const char *buf, const char *file, const char *func, int line)