httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Richards <p.richa...@elsevier.co.uk>
Subject Re: cvs commit: apache/support logresolve.c Makefile
Date Wed, 07 Aug 1996 13:05:09 GMT
Brian Behlendorf <brian@hyperreal.com> 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: p.richards@elsevier.co.uk
  Phone: 0370 462071 (Mobile), +44 (0)1865 843155

Mime
View raw message