]> granicus.if.org Git - postgresql/commit
Fix a whole bunch of #includes that were either wrong or redundant.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 28 Jul 2005 04:03:14 +0000 (04:03 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 28 Jul 2005 04:03:14 +0000 (04:03 +0000)
commit06e1d62689d2d3ceca014b46476f81ef2d9ceeac
tree7f12da6bfc2ff6bc05a540151caa11b93970484e
parent420cfd03666d71aa1f5e7b8453072895f6fa4b04
Fix a whole bunch of #includes that were either wrong or redundant.
The first rule of portability for us is 'thou shalt have no other gods
before c.h', and a whole lot of these files were either not including
c.h at all, or including random system headers beforehand, either of
which sins can mess up largefile support nicely.  Once you have
included c.h, there is no need to re-include what it includes, either.
19 files changed:
src/port/crypt.c
src/port/fseeko.c
src/port/getaddrinfo.c
src/port/gethostname.c
src/port/getopt.c
src/port/getopt_long.c
src/port/getrusage.c
src/port/memcmp.c
src/port/noblock.c
src/port/open.c
src/port/qsort.c
src/port/random.c
src/port/snprintf.c
src/port/srandom.c
src/port/strdup.c
src/port/strerror.c
src/port/strtol.c
src/port/strtoul.c
src/port/thread.c