Crocodilians' connection is somewhat closer to birds (though no less ancient).  Like them (and us) they have a four-chambered heart.  They're another offshoot of the line that gave rise to birds (and dinosaurs, some of which had feathers).