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