guardhouse

noun

A building used to accommodate a military guard or to detain military prisoners.