Fix cpluspluscheck for pg_verifybackup.h.
authorThomas Munro <tmunro@postgresql.org>
Sun, 18 Aug 2024 19:59:16 +0000 (07:59 +1200)
committerThomas Munro <tmunro@postgresql.org>
Sun, 18 Aug 2024 19:59:30 +0000 (07:59 +1200)
simplehash.h references pg_fatal(), which cpluspluscheck says is
undeclared, causing the CI CompilerWarnings task to fail since commit
aa2d6b15.  Include the header it needs.

Discussion: https://postgr.es/m/CA%2BhUKGJC3d4PXkErpfOWrzQqcq6MLiCv0%2BAH0CMQnB6hdLUFEw%40mail.gmail.com

src/bin/pg_verifybackup/pg_verifybackup.h

index c395217788163229a78405ca28f7a4eae045a19d..d8c566ed58791a35b36e85edeae8f4325b769112 100644 (file)
@@ -16,6 +16,7 @@
 
 #include "common/controldata_utils.h"
 #include "common/hashfn_unstable.h"
+#include "common/logging.h"
 #include "common/parse_manifest.h"
 #include "fe_utils/simple_list.h"