aboutsummaryrefslogtreecommitdiff
path: root/src/bin/pg_dump/pg_backup_tar.c
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2013-01-02 20:34:08 +0100
committerMagnus Hagander <magnus@hagander.net>2013-01-02 20:34:08 +0100
commit794397ae1d1c6d33d11a9b0951a420c2082bcd6c (patch)
tree264d494bd1e7a051815c1f6375078e3d6914fd41 /src/bin/pg_dump/pg_backup_tar.c
parentdfbba2c86cc8f09cf3ffca3d305b4ce54a7fb49a (diff)
downloadpostgresql-794397ae1d1c6d33d11a9b0951a420c2082bcd6c.tar.gz
postgresql-794397ae1d1c6d33d11a9b0951a420c2082bcd6c.zip
Move tar function headers to pgtar.h
This makes it possible to include them only where they are used, so we can avoid the conflict of the uid_t and gid_t datatypes that happened in plperl (since plperl doesn't need the tar functions)
Diffstat (limited to 'src/bin/pg_dump/pg_backup_tar.c')
-rw-r--r--src/bin/pg_dump/pg_backup_tar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/pg_dump/pg_backup_tar.c b/src/bin/pg_dump/pg_backup_tar.c
index a60492bcb76..5e560709765 100644
--- a/src/bin/pg_dump/pg_backup_tar.c
+++ b/src/bin/pg_dump/pg_backup_tar.c
@@ -30,6 +30,7 @@
#include "pg_backup_tar.h"
#include "dumpmem.h"
#include "dumputils.h"
+#include "pgtar.h"
#include <sys/stat.h>
#include <ctype.h>