diff --git a/src/include/replication/slot.h b/src/include/replication/slot.h index 7964ae254f4..41a830954eb 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 */