On your 1099-R, there should have been an amount in box 2a (Taxable Amount). If it was blank, you should enter the same amount in box 2 as that which was in box...
Your best method would be to go back to the prior years return and have it amended to reduce your charitable contributions by this contribution. That will proba...