diff -uNr a/src/gm_s86dl.h b/src/gm_s86dl.h --- a/src/gm_s86dl.h 2015-11-24 05:03:45.000000000 -0600 +++ b/src/gm_s86dl.h 2021-05-24 17:33:38.000000000 -0500 @@ -17,6 +17,7 @@ #ifndef _GM_S86DL_H #define _GM_S86DL_H +#include #define SOLARIS_X86_NUMSLICE 8 #define SOLARIS_X86_VTOC_SANE (0x600DDEEEUL) @@ -40,7 +41,7 @@ struct solaris_x86_slice { ushort s_tag; /* ID tag of partition */ ushort s_flag; /* permision flags */ - daddr_t s_start; /* start sector no of partition */ + __kernel_daddr_t s_start; /* start sector no of partition */ long s_size; /* # of blocks in partition */ };