Dodgy meal in time brings complaint (7)

I believe the answer is:
ailment
'complaint' is the definition.
(synonyms)
'dodgy meal in time' is the wordplay.
'dodgy' indicates anagramming the letters (a dodgy or wrong order of the letters).
'time' becomes 't' (abbreviation).
'meal'+'in'='mealin'
'mealin' with letters rearranged gives 'ailmen'.
'ailmen'+'t'='AILMENT'
'brings' acts as a link.
(Other definitions for ailment that I've seen before include "Complaint, affliction" , "Minor illness" , "Slight but persistent illness" , "problem" , "Physical disorder" .)