diff --git a/module/nvpair/nvpair.c b/module/nvpair/nvpair.c index c0155f729..5ce389f14 100644 --- a/module/nvpair/nvpair.c +++ b/module/nvpair/nvpair.c @@ -37,16 +37,15 @@ #include #include #include +#include #else #include #include #include #include +#include #endif -#ifndef offsetof -#define offsetof(s, m) ((size_t)(&(((s *)0)->m))) -#endif #define skip_whitespace(p) while ((*(p) == ' ') || (*(p) == '\t')) p++ /*