His head ached badly; also, he was hungry.
The man was sore and wanting to eat something.