From 9b14280b207053f8b09e20b5719785ec4413b9d2 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sat, 18 Jul 2020 14:58:18 -0400 Subject: [PATCH] Fix replication/worker_internal.h to compile without other headers. This header hasn't changed recently, so the fact that it now fails headerscheck/cpluspluscheck testing must be due to changes in what it includes. Probably f21916791 is to blame, but I didn't try to verify that. Discussion: https://postgr.es/m/3699703.1595016554@sss.pgh.pa.us --- src/include/replication/worker_internal.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/include/replication/worker_internal.h b/src/include/replication/worker_internal.h index 8ed7e45056..6602b23edc 100644 --- a/src/include/replication/worker_internal.h +++ b/src/include/replication/worker_internal.h @@ -18,6 +18,8 @@ #include "catalog/pg_subscription.h" #include "datatype/timestamp.h" #include "storage/lock.h" +#include "storage/spin.h" + typedef struct LogicalRepWorker { -- 2.39.5