From: Peter Eisentraut Date: Mon, 28 Oct 2024 16:44:18 +0000 (+0100) Subject: Fix WAL_DEBUG build X-Git-Tag: REL_18_BETA1~1609 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=8a98822bcc37c03baf44ec39d8e88d9c24647b9d;p=postgresql.git Fix WAL_DEBUG build broken by commit e18512c000e Reported-by: Peter Geoghegan --- diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index 5a2801e482f..3ecaf181392 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -104,6 +104,10 @@ #include "utils/timestamp.h" #include "utils/varlena.h" +#ifdef WAL_DEBUG +#include "utils/memutils.h" +#endif + /* timeline ID to be used when bootstrapping */ #define BootstrapTimeLineID 1