SDL src files

I want to do something that would need the endian stuff, and the custom
variables (uint8, sint8, etc) from SDL. Which files contains these, and the
important architecture stuff I’d need? I’d rather not have to include all of
Libido though (I would give proper credit in the project).

-Jim Stapleton