Prevent redeclaration of typedef TocEntry.

Nathan Bossart <nathan@postgresql.org>

Commit: 8ec0aaeae09482925d2d15ce4a91f6953bdb1566
Author: Nathan Bossart <nathan@postgresql.org>
Date: 2025-04-04T20:56:23Z
Releases: 18.0
Prevent redeclaration of typedef TocEntry.

Commit 9c02e3a986 added a forward declaration for this typedef that
caused redeclarations, which is not valid in C99.  To fix, add some
preprocessor guards to avoid a redefinition, as is done elsewhere
(e.g., commit 382092a0cd).

Per buildfarm.

Files

PathChange+/−
src/bin/pg_dump/pg_backup_archiver.h modified +3 −0
src/bin/pg_dump/pg_backup.h modified +3 −0