diff options
Diffstat (limited to 'include/os/freebsd/spl/rpc/xdr.h')
-rw-r--r-- | include/os/freebsd/spl/rpc/xdr.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/os/freebsd/spl/rpc/xdr.h b/include/os/freebsd/spl/rpc/xdr.h index 59d5e425bedb..c98466e9d16a 100644 --- a/include/os/freebsd/spl/rpc/xdr.h +++ b/include/os/freebsd/spl/rpc/xdr.h @@ -33,7 +33,7 @@ #include <rpc/types.h> #include_next <rpc/xdr.h> -#ifndef _KERNEL +#if !defined(_KERNEL) && !defined(_STANDALONE) #include <assert.h> @@ -66,6 +66,6 @@ xdrmem_control(XDR *xdrs, int request, void *info) xdrmem_control((xdrs), (req), (op)) : \ (*(xdrs)->x_ops->x_control)(xdrs, req, op)) -#endif /* !_KERNEL */ +#endif /* !_KERNEL && !_STANDALONE */ #endif /* !_OPENSOLARIS_RPC_XDR_H_ */ |