This include stdfix-avrlibc.h in the avr-gcc specific stdfix.h.
Ok for trunk? Johann gcc/ * config/avr/stdfix.h [__WITH_AVRLIBC__]: Include <stdfix-avrlibc.h>.
Index: config/avr/stdfix.h =================================================================== --- config/avr/stdfix.h (revision 220854) +++ config/avr/stdfix.h (working copy) @@ -233,4 +233,13 @@ typedef long long unsigned int uint_uk_t #define roundfx __builtin_avr_roundfx #define countlsfx __builtin_avr_countlsfx + +/* Hook in stuff from AVR-Libc. */ + +#if (defined (__WITH_AVRLIBC__) \ + && defined (__has_include) \ + && __has_include (<stdfix-avrlibc.h>)) +#include <stdfix-avrlibc.h> +#endif + #endif /* _AVRGCC_STDFIX_H */