Pilot's compartment (7)
I believe the answer is:
'pilot's compartment' is the definition.
(I've seen this before)
This is the entire clue.
(Other definitions for cockpit that I've seen before include "Site of numerous battles or campaigns" , "Compartment for aircraft pilot" , "Racing driver's seat" , "not suitable for a hen party" , "Pilot's cabin" .)