SAN DIEGO — Xander Bogaerts hit a go-ahead single in the eighth, Miguel Andujar and Manny Machado homered and the San Diego Padres beat the Chicago White Sox 4-3 on Sunday to snap a four-game skid.

Ramón Laureano walked to lead off the eighth, stole second base and moved to third on Jackson Merrill’s single. After Merrill stole second, Bogaerts singled to give San Diego a 4-3 lead.