Bird gets something to eat by pile of hay? (7)

I believe the answer is:
peacock
'bird' is the definition.
(peacock is a kind of bird)
'something to eat by pile of hay?' is the wordplay.
'something to eat' becomes 'pea' (pea is a kind of food).
'by' means one lot of letters go next to another.
'pile of hay?' becomes 'cock' (I've seen this before).
'pea'+'cock'='PEACOCK'
'gets' acts as a link.
(Other definitions for peacock that I've seen before include "Ornamental fowl" , "Gaudy bird" , "Bird with showy tail" , "Blue-green" , "Proud strutter" .)