-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Micah Cowan wrote: > Is there any reason we can't move the contents of config-post.h into > sysdep.h, and have the .c files #include "wget.h" at the top, before any > system headers? It seems natural to me to have project source files > always include a "configuration" header prior to any system headers... > we already do this with config.h. If we do move wget.h to the top, we > may as well put the #include <config.h> (shouldn't that be "config.h"?) > line in wget.h as well, instead of having each .c file #include it... > that way, there is only one header file that is globally common.
I've gone ahead and done this; you can see the diff at http://hg.addictivecode.org/wget/mainline/rev/aa4c0498e8cc Please tell me if you see or are aware of problems with this (it Builds Fine For Me™). :) - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer... http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHGET47M8hyUobTrERCK/TAJ0f6NLYchXftWC4ryqqKFzY+dObzQCgjmr6 wzWIu2GsG2ns8QAQxQOquOI= =aRvW -----END PGP SIGNATURE-----