I am new to Arduino and I am having the following problem with the IDE: including header files like stdio.h, inttypes.h, etc loads generic C or C++ headers in stead of the avr files.
Is there a way to have my Arduino projects load headers from the avr directory and my non-Arduino projects from the standard include directories?
I am using Arduino IDE 1.6.4 on Fedora 24 with gcc 6.1.1.
I have been looking in the preferences dialog but I don’t find any setting for include paths. The /usr/avr directory contains all necessary files but they are not found by the Arduino IDE. <