header fixes

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
fix missing define

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
fix missing accmode_t typedef

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
don't build ZFS DEBUG

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
sys/cddl/compat/opensolaris: Stub out (WIP)

Stub out function so we can continue to build..

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>