From 06e1d62689d2d3ceca014b46476f81ef2d9ceeac Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 28 Jul 2005 04:03:14 +0000 Subject: 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. --- src/port/memcmp.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/port/memcmp.c') diff --git a/src/port/memcmp.c b/src/port/memcmp.c index 7643122470..c6df6c8df6 100644 --- a/src/port/memcmp.c +++ b/src/port/memcmp.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/port/memcmp.c,v 1.7 2004/12/31 22:03:53 pgsql Exp $ + * $PostgreSQL: pgsql/src/port/memcmp.c,v 1.8 2005/07/28 04:03:14 tgl Exp $ * * This file was taken from NetBSD and is used by SunOS because memcmp * on that platform does not properly compare negative bytes. The @@ -46,7 +46,8 @@ * SUCH DAMAGE. */ -#include +#include "c.h" + /* * Compare memory regions. -- cgit v1.2.1