Compile error related to greiman's SDFat.h

Hello,

I downloaded this sketch and installed the required SDFat library like told in the sketch details explained.
But upon compilation I get several errors related to the not found fstream header like:

Atmega_Hex_Uploader_Fixed_Filename:930:3: error: 'ifstream' was not declared in this scope
   ifstream sdin (fName);
   ^~~~~~~~

Atmega_Hex_Uploader_Fixed_Filename:945:8: error: 'sdin' was not declared in this scope
   if (!sdin.is_open())
        ^~~~

These lines are present in the "readHexFile" function.
I have no clue why this non modified code isn't compiling properly.

Please help!

Thanks
Hannes

I just compiled the sketch on a current IDE for the Arduino UNO and did not get any compilation errors. So it seems you did change any of these parameters on your side without telling us.