diff options
Diffstat (limited to 'include/os/linux/spl')
-rw-r--r-- | include/os/linux/spl/sys/cmn_err.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/os/linux/spl/sys/cmn_err.h b/include/os/linux/spl/sys/cmn_err.h index 79297067c..d2088371c 100644 --- a/include/os/linux/spl/sys/cmn_err.h +++ b/include/os/linux/spl/sys/cmn_err.h @@ -24,7 +24,11 @@ #ifndef _SPL_CMN_ERR_H #define _SPL_CMN_ERR_H +#if defined(_KERNEL) && defined(HAVE_STANDALONE_LINUX_STDARG) +#include <linux/stdarg.h> +#else #include <stdarg.h> +#endif #define CE_CONT 0 /* continuation */ #define CE_NOTE 1 /* notice */ |