Brian Behlendorf <[EMAIL PROTECTED]> writes: > + #ifdef __EMX__ > + /* Need this include before any others under OS/2 */ > + #include <sys/types.h> > + #endif > +
This should be done for all OS's. Most OS's get away with it because header files that need other header files include them and the files are made idempotent with #ifdef tricks. Special casing OS/2 just adds more #ifdef spaghetti. The bit of the BSD style guide that said system files should be included first was most likely related to this. -- Paul Richards. Originative Solutions Ltd. (Netcraft Ltd. contractor) Elsevier Science TIS online journal project. Email: [EMAIL PROTECTED] Phone: 0370 462071 (Mobile), +44 (0)1865 843155