sd.h causing output pins to stop working

I am changing it in my program here
#define LEDPin 2
after I call the include

Saying "I am going to talk to pin 2" and saying "pinMode(2, OUTPUT);" are not quite the same thing, are they?

If you want to turn an LED on, you must connect it to a pin whose mode is OUTPUT. The pins are all INPUT by default.