diff options
author | Tom Lane | 2002-09-05 21:01:16 +0000 |
---|---|---|
committer | Tom Lane | 2002-09-05 21:01:16 +0000 |
commit | da2e0ddeb4b68e46605ed190fb253047d9720ce7 (patch) | |
tree | 752fbdd22cf5bf7476a9abf3e52a021bc83ffb00 | |
parent | f2a242f988315279c8c620feab01fe4397a6cfbe (diff) |
Remove compile warnings, ensure consistent build environment for
largefile usage.
-rw-r--r-- | contrib/pg_dumplo/lo_export.c | 16 | ||||
-rw-r--r-- | contrib/pg_dumplo/lo_import.c | 16 | ||||
-rw-r--r-- | contrib/pg_dumplo/main.c | 14 | ||||
-rw-r--r-- | 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 702a8a2789f..cdcb07ef323 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 <stdio.h> -#include <unistd.h> -#include <stdlib.h> -#include <string.h> -#include <sys/stat.h> -#include <sys/types.h> +#include "postgres_fe.h" + #include <fcntl.h> #include <errno.h> #include <time.h> +#include <unistd.h> +#include <sys/stat.h> -#include <libpq-fe.h> -#include <libpq/libpq-fs.h> +#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 953dc10eb59..66d1daca621 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 <stdio.h> -#include <unistd.h> -#include <stdlib.h> -#include <string.h> -#include <sys/stat.h> -#include <sys/types.h> +#include "postgres_fe.h" + #include <fcntl.h> #include <errno.h> #include <time.h> +#include <unistd.h> +#include <sys/stat.h> -#include <libpq-fe.h> -#include <libpq/libpq-fs.h> +#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 41c191a6795..8bb9839aeb2 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 <stdio.h> -#include <unistd.h> -#include <stdlib.h> -#include <string.h> #include <errno.h> +#include <unistd.h> -#include <libpq-fe.h> -#include <libpq/libpq-fs.h> +#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 aab35bcd7c7..288e312f3e2 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 <stdio.h> -#include <unistd.h> -#include <stdlib.h> -#include <string.h> -#include <sys/stat.h> -#include <sys/types.h> +#include "postgres_fe.h" + #include <fcntl.h> #include <errno.h> #include <time.h> +#include <unistd.h> +#include <sys/stat.h> -#include <libpq-fe.h> -#include <libpq/libpq-fs.h> +#include "libpq-fe.h" +#include "libpq/libpq-fs.h" #include "pg_dumplo.h" |