Fix WAL_DEBUG build
authorPeter Eisentraut <[email protected]>
Mon, 28 Oct 2024 16:44:18 +0000 (17:44 +0100)
committerPeter Eisentraut <[email protected]>
Mon, 28 Oct 2024 16:44:18 +0000 (17:44 +0100)
broken by commit e18512c000e

Reported-by: Peter Geoghegan <[email protected]>
src/backend/access/transam/xlog.c

index 5a2801e482f353f8a739e04a0d5441a83d426137..3ecaf1813927ebfebbd7f889ed6c7c6838a3f843 100644 (file)
 #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