From bf04e4d442ea261ff837fad539a02d33ee89f792 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 b251ace7b8..5f3b9e4e8c 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)