Andres Freund <andres@anarazel.de> writes:
> On 2020-07-17 16:09:14 -0400, Tom Lane wrote:
>> headerscheck and cpluspluscheck are both unhappy about this:
>> ./src/include/replication/worker_internal.h:49:2: error: unknown type name 'slock_t'
>> slock_t relmutex;
>> ^~~~~~~
> I think including spin.h is the right fix, given that it needs to know
> the size of s_lock.
Done that way.
regards, tom lane