'needs' is the definition.
('have' can be a synonym of 'need')
I don't understand how the rest of the clue works.
Can you help me to learn more?
(Other definitions for has that I've seen before include
"Enjoys", "Cheats", "Contains", "suffers from", "Owns, holds".)