http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48009
--- Comment #7 from Marc Glisse <glisse at gcc dot gnu.org> 2012-05-13 08:59:25 UTC --- (In reply to comment #6) > (If anyone can point me to a fixinclude that does the same > kind of one-line change elsewhere, I could work with that...) That's easy, just take a look at the file fixincludes/inclhack.def, most fixes are exactly this kind of one-line changes. Picking one completely at random: fix = { hackname = vxworks_needs_vxtypes; files = time.h; select = "uint_t([ \t]+_clocks_per_sec)"; c_fix = format; c_fix_arg = "unsigned int%1"; test_text = "uint_t\t_clocks_per_sec;"; }; This one replaces uint_t with unsigned int. The README file in that directory is useful too. ISTR there was a problem with genfixes not working on recent OS, but that shouldn't be a problem for you ;-)