diff options
author | alaviss <[email protected]> | 2017-07-06 00:39:13 +0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-07-05 10:39:13 -0700 |
commit | 478e3ecf8bc98687a336a64214c0e5e122454f52 (patch) | |
tree | 101c2d070bd63bfcc391e26d9ddb322c59dc646d | |
parent | 688c94c5c03c693f91d48adcf4b8826f8e16c6fd (diff) |
Musl libc fixes
Musl libc's <stdio.h> doesn't include <stdarg.h>, which cause
`va_start` and `va_end` end up being undefined symbols.
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: George Melikov <[email protected]>
Signed-off-by: Leorize <[email protected]>
Closes #6310
-rw-r--r-- | lib/libspl/include/assert.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libspl/include/assert.h b/lib/libspl/include/assert.h index 6237d6bcf..b53942094 100644 --- a/lib/libspl/include/assert.h +++ b/lib/libspl/include/assert.h @@ -31,6 +31,7 @@ #include <stdio.h> #include <stdlib.h> +#include <stdarg.h> static inline int libspl_assert(const char *buf, const char *file, const char *func, int line) |