If Gingrich only serves as Acting President, he's fine, and considering Clinton recovered soon after, I think he should still be fine. Clinton never left the office of President by dying or resigned, so it never legally succeeded to Gingrich.
George H. W. Bush, Al Gore (I think) and Dick Cheney...