Fix replication/worker_internal.h to compile without other headers.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 18 Jul 2020 18:58:18 +0000 (14:58 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 18 Jul 2020 18:58:18 +0000 (14:58 -0400)
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

index 8ed7e45056c9805ede8845ea113ddbd0663780bb..6602b23edc51a59e4c27adb829bac2a4baecad69 100644 (file)
@@ -18,6 +18,8 @@
 #include "catalog/pg_subscription.h"
 #include "datatype/timestamp.h"
 #include "storage/lock.h"
+#include "storage/spin.h"
+
 
 typedef struct LogicalRepWorker
 {