diff --git a/src/include/replication/slot.h b/src/include/replication/slot.h index e00562d274f..0f38de92b0f 100644 --- a/src/include/replication/slot.h +++ b/src/include/replication/slot.h @@ -147,7 +147,7 @@ typedef struct ReplicationSlotCtlData /* * Pointers to shared memory */ -extern ReplicationSlotCtlData *ReplicationSlotCtl; +extern PGDLLIMPORT ReplicationSlotCtlData *ReplicationSlotCtl; extern PGDLLIMPORT ReplicationSlot *MyReplicationSlot; /* GUCs */