> OK, thanks for this reply. For a situation when the only available > headers are the sanitized Linux headers and those from recent glibc > (or some other modern libc) am I correct in assuming that this script > is unnecessary and could, conceivably alter something that shouldn't > be altered?
What are you after, exactly? Even on modern OSes, there might be glitches or small incompatibilities that woud need to be fixed in order for GCC to work properly, and fixincludes is the tried and proven tool to do that. It is designed to modify only what needs to be modified, but bugs cannot of course be ruled out like in any other piece of code. -- Eric Botcazou