allah has only forbidden you to eat what dies of itself and blood and swine flesh and what has been consecrated to any other name than of allah. but one will incur no sin if forced by absolute necessity he eats of any of these forbidden things provided he has no intention of transgressing the law and does not take more than what is absolutely indispensable for allah is very forgiving and very merciful.
إنما حرم عليكم الميتة والدم ولحم الخنزير وما أهل به لغير الله فمن اضطر غير باغ ولا عاد فلا إثم عليه إن الله غفور رحيم