fix missing accmode_t typedef

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