From da2e0ddeb4b68e46605ed190fb253047d9720ce7 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 5 Sep 2002 21:01:16 +0000 Subject: [PATCH] Remove compile warnings, ensure consistent build environment for largefile usage. --- contrib/pg_dumplo/lo_export.c | 16 +++++++--------- contrib/pg_dumplo/lo_import.c | 16 +++++++--------- contrib/pg_dumplo/main.c | 14 ++++---------- contrib/pg_dumplo/utils.c | 16 +++++++--------- 4 files changed, 25 insertions(+), 37 deletions(-) diff --git a/contrib/pg_dumplo/lo_export.c b/contrib/pg_dumplo/lo_export.c index 702a8a2789..cdcb07ef32 100644 --- a/contrib/pg_dumplo/lo_export.c +++ b/contrib/pg_dumplo/lo_export.c @@ -1,24 +1,22 @@ /* ------------------------------------------------------------------------- * pg_dumplo * - * $Header: /cvsroot/pgsql/contrib/pg_dumplo/Attic/lo_export.c,v 1.10 2002/09/04 20:31:06 momjian Exp $ + * $Header: /cvsroot/pgsql/contrib/pg_dumplo/Attic/lo_export.c,v 1.11 2002/09/05 21:01:16 tgl Exp $ * * Karel Zak 1999-2000 * ------------------------------------------------------------------------- */ -#include -#include -#include -#include -#include -#include +#include "postgres_fe.h" + #include #include #include +#include +#include -#include -#include +#include "libpq-fe.h" +#include "libpq/libpq-fs.h" #include "pg_dumplo.h" diff --git a/contrib/pg_dumplo/lo_import.c b/contrib/pg_dumplo/lo_import.c index 953dc10eb5..66d1daca62 100644 --- a/contrib/pg_dumplo/lo_import.c +++ b/contrib/pg_dumplo/lo_import.c @@ -1,24 +1,22 @@ /* ------------------------------------------------------------------------- * pg_dumplo * - * $Header: /cvsroot/pgsql/contrib/pg_dumplo/Attic/lo_import.c,v 1.8 2002/09/04 20:31:06 momjian Exp $ + * $Header: /cvsroot/pgsql/contrib/pg_dumplo/Attic/lo_import.c,v 1.9 2002/09/05 21:01:16 tgl Exp $ * * Karel Zak 1999-2000 * ------------------------------------------------------------------------- */ -#include -#include -#include -#include -#include -#include +#include "postgres_fe.h" + #include #include #include +#include +#include -#include -#include +#include "libpq-fe.h" +#include "libpq/libpq-fs.h" #include "pg_dumplo.h" diff --git a/contrib/pg_dumplo/main.c b/contrib/pg_dumplo/main.c index 41c191a679..8bb9839aeb 100644 --- a/contrib/pg_dumplo/main.c +++ b/contrib/pg_dumplo/main.c @@ -1,25 +1,19 @@ /* ------------------------------------------------------------------------- * pg_dumplo * - * $Header: /cvsroot/pgsql/contrib/pg_dumplo/Attic/main.c,v 1.11 2002/09/04 20:31:07 momjian Exp $ + * $Header: /cvsroot/pgsql/contrib/pg_dumplo/Attic/main.c,v 1.12 2002/09/05 21:01:16 tgl Exp $ * * Karel Zak 1999-2000 * ------------------------------------------------------------------------- */ -/* We import postgres_fe.h mostly to get the HAVE_GETOPT_LONG configure result. */ -#ifndef OUT_OF_PG #include "postgres_fe.h" -#endif -#include -#include -#include -#include #include +#include -#include -#include +#include "libpq-fe.h" +#include "libpq/libpq-fs.h" #include "pg_dumplo.h" diff --git a/contrib/pg_dumplo/utils.c b/contrib/pg_dumplo/utils.c index aab35bcd7c..288e312f3e 100644 --- a/contrib/pg_dumplo/utils.c +++ b/contrib/pg_dumplo/utils.c @@ -1,24 +1,22 @@ /* ------------------------------------------------------------------------- * pg_dumplo * - * $Header: /cvsroot/pgsql/contrib/pg_dumplo/Attic/utils.c,v 1.5 2002/08/15 02:58:29 momjian Exp $ + * $Header: /cvsroot/pgsql/contrib/pg_dumplo/Attic/utils.c,v 1.6 2002/09/05 21:01:16 tgl Exp $ * * Karel Zak 1999-2000 * ------------------------------------------------------------------------- */ -#include -#include -#include -#include -#include -#include +#include "postgres_fe.h" + #include #include #include +#include +#include -#include -#include +#include "libpq-fe.h" +#include "libpq/libpq-fs.h" #include "pg_dumplo.h"