Family Dollar Stores Inc. enacted measures Monday to prevent any investor from gaining control of the discounter, a response to activist investor Carl Icahn's newly acquired stake.

The retailer said its board approved a one-year shareholder rights plan, also known as a poison pill. The plan would flood the market with shares when an investor's stake exceeds 10%, making it more expensive to acquire a controlling stake. The company...