Sdfat does not name a type?

UKHeliBob:
If you knew what was "part of this" you would not be asking the question

The working code has 13 #includes
The non working code has 39 #includes

If you read them you might notice its for my display. You will also notice another 1k lines of code :0 shocker right?

pert:
When you encounter an error you'll see a button on the right side of the orange bar "Copy error messages". Click that button. Paste the error in a message here USING CODE TAGS (</> button on the toolbar).

Tells me the line its in and that its using the sd lib from the arduino folder and not the program folder that i run it from. I tried deleting both and reinstalling one at a time and one and not the other still get

"Sd.fat does not name a type"
Tried all kinds of ways

THE ONLY DIFFERENCE BETWEEN MY TWO CODES IS THE ADDED DISPLAY.
Please guys focus more on a solution and less on being snarky ok?