summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2020-07-18 18:58:18 +0000
committerTom Lane2020-07-18 18:58:18 +0000
commit9b14280b207053f8b09e20b5719785ec4413b9d2 (patch)
treeb999b3b056279090665da3681e98c990161d9d05
parent9de77b5453130242654ff0b30a551c9c862ed661 (diff)
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
-rw-r--r--src/include/replication/worker_internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/replication/worker_internal.h b/src/include/replication/worker_internal.h
index 8ed7e45056c..6602b23edc5 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
{