Prevent redeclaration of typedef TocEntry.
authorNathan Bossart <[email protected]>
Fri, 4 Apr 2025 20:56:23 +0000 (15:56 -0500)
committerNathan Bossart <[email protected]>
Fri, 4 Apr 2025 20:56:23 +0000 (15:56 -0500)
commit8ec0aaeae09482925d2d15ce4a91f6953bdb1566
tree1514ab8708f675aad8ce50bbda76b4f9e773a131
parent289f74d0cb247ebdb443fec65fb2500531c961b4
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.
src/bin/pg_dump/pg_backup.h
src/bin/pg_dump/pg_backup_archiver.h