> Wouldn't it be *much* easier just to force GCC to include the
> system-supplied file that has all the proper definitions with prototypes?
No.
Why? Writing a program to get all the names of the functions to handle
specially isn't at all trivial and you don't get the prototypes.