On Fri, Mar 11, 2011 at 11:53 AM, Bruce Momjian <br...@momjian.us> wrote: > Heikki Linnakangas wrote: >> On 11.03.2011 18:50, Bruce Momjian wrote: >> > Twenty percent of our C files include unistd.h. Should we include >> > unistd.h in c.h and remove mentions of unistd.h in files that include >> > c.h? >> >> Why? > > Well, that is one less C include file in 151 C files, and just one > additional line in c.h.
We could take it a little further and just make c.h include everything that any file needs anywhere in the system. That would save even more lines of code, but it has nothing else to recommend it. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers