At creation the food given for man and animal was:
Gen 1:29-30 KJV - 29 And God said, Behold, I have given you every herb bearing seed, which [is] upon the face of all the earth, and every tree, in the which [is] the fruit of a tree yielding seed; to you it shall be for meat. 30 And to every beast of the earth, and to every fowl of the air, and to every thing that creepeth upon the earth, wherein [there is] life, [I have given] every green herb for meat: and it was so.
Strangely enough Satan when the chance arose to tempt man, it was about eating:
Gen 3:1-2, 6-7 KJV - 1 Now the serpent was more subtil than any beast of the field which the LORD God had made. And he said unto the woman, Yea, hath God said, Ye shall not eat of every tree of the garden? 2 And the woman said unto the serpent, We may eat of the fruit of the trees of the garden: ... 6 And when the woman saw that the tree [was] good for food, and that it [was] pleasant to the eyes, and a tree to be desired to make [one] wise, she took of the fruit thereof, and did eat, and gave also unto her husband with her; and he did eat. 7 And the eyes of them both were opened, and they knew that they [were] naked; and they sewed fig leaves together, and made themselves aprons.
When the flood came God did not add anything to the previous dietary description, the food that Noah was told to gather was also to be shared with all the beasts:
Gen 6:21 KJV - 21 And take thou unto thee of all food that is eaten, and thou shalt gather [it] to thee; and it shall be for food for thee, and for them.
Then after the ark was unloaded God allowed flesh food in the diet, the Bible doesn't say but it takes a while to grow a new crop of food, the meat then would be acceptable for man as God equates it to the green herb:
Gen 9:3 KJV - 3 Every moving thing that liveth shall be meat for you; even as the green herb have I given you all things.