KANSAS CITY, Mo. -- Tim Anderson kept the White Sox in the game with his glove before he won it with his bat.
Anderson hit a two-run homer in the 12th inning, and Chicago beat the Kansas City Royals 4-2 on Wednesday night.
Anderson's blast off Burch Smith (1-5), the sixth Royals pitcher, landed just beyond the fence in left-center. It was his 19th homer this season.
"It was a good way to cap off the night," Anderson said. "I was looking fastball. The at-bat before that, they started me off with a slider. The first pitch was a fastball up, and I had a feeling that he would throw me another one. I was able to jump on it."
"It's a bang-bang play," he said. "I guess (Phillips) didn't think I could jump. It was close, but it was a good play to get us out of the jam."
Juan Minaya (2-2) pitched two scoreless innings for the win. Hector Santiago, the eighth Chicago pitcher, picked up his second save in as many chances. Jose Rondon also homered for the White Sox, who snapped a seven-game skid, one game short of their season-worst losing streak.
"Tim put a good swing on it," manager Rick Renteria said. "All the guys in the dugout were hoping he would do something there, and he did.
"Both teams did a good job of protecting the strike zone and limiting the scoring."
Adalberto Mondesi tied a career high with four hits and drove in both of Kansas City's runs.
Both teams wasted plenty of scoring chances. The Royals had five runners retired on the bases, while the White Sox left seven men on base.
Royals starter Eric Skogland pitched five innings, allowing two runs on two hits, with two walks and two strikeouts. He made his first start since May 25 after a long stint on the disabled list with a sprained ulnar collateral ligament. He returned Sept. 4 and had pitched two scoreless innings in relief.
"(Skogland) threw the ball really, really well," Kansas City manager Ned Yost said. "Our pitching did a great job. ... We just couldn't find ways."
Carlos Rodon pitched six innings, allowing two runs on five hits.
"My command wasn't great today," Rodon said. "The defense turned some nice double plays, I got through six and the boys got the win."
Whit Merrifield stole two bases to bring his season total to 35, a new career high. He led the AL with 34 swipes last season and tops the league again this year.
After Merrifield stole second in the third inning, Mondesi drove him in with a single for the game's first run. Mondesi stole his 22nd base, his 17th since the All-Star break.
The White Sox answered with two runs in the fourth on Rondon's homer to left, scoring Avisail Garcia, who reached on a two-out walk.
The Royals tied it in the fifth but had a chance for a bigger inning. Ryan O'Hearn reached on a one-out walk, and Merrifield followed with a double to the wall in left center. But O'Hearn went too far around third and was picked off. Merrifield then stole third and scored on Mondesi's second RBI single.
The White Sox had runners on second and third with one out in the seventh, and then loaded the bases with two outs. But Glenn Sparkman induced a fielder's-choice grounder from Anderson to end the inning.
The Royals loaded the bases in the seventh as well but did not score.
White Sox: INF Matt Davidson remains out of the lineup with what Renteria called sore knees. "Maybe these next four days are just giving him that time to recover," Renteria said. ... 3B Yoan Moncada was out of the lineup. "He's a little sore in the hip," Renteria said. "Today and a natural day off tomorrow, maybe that will help him."
Royals: INF Hunter Dozier was scratched with a sore back. "It's nothing serious," Dozier said before the game. "It's just a little back tightness. It's kind of built up and I woke up this morning pretty sore. I could have played, probably, but they decided to give me one day. I'll be 100 percent tomorrow."
White Sox: RHP James Shields (6-16, 4.58 ERA) goes in Baltimore on Friday.
Royals: RHP Heath Fillmyer (2-1, 4.75) will face Twins LHP Stephen Gonsalves (0-2, 11.68) on Thursday. It will be Fillmyer's second consecutive start against the Twins. He took a no-decision in a 10-6 loss in Minneapolis last Friday, allowing six runs on six hits in 2 1/3 innings.
More AP MLB: https://apnews.com/tag/MLB and https://twitter.com/AP-Sports
How social media is negatively impacting Hall of Fame voting
Deciding which stars deserve a spot in Cooperstown should be a joyful exercise, but backlash to voters' selections is sucking the fun out of the debate. Plus, a look at what players can do about the state of free agency.
Cards' Yadier Molina takes exception to quips by Cubs' Kris Bryant
Cardinals catcher Yadier Molina took exception to quips about St. Louis by Cubs star Kris Bryant and Ryan Dempster, saying only "stupid players and losers" make fun of other cities.
Buster's Buzz: Red Sox repeat? Four question marks facing the champs
From health to hangovers, Boston still must find a few answers in its quest for a second straight ring.
Yankees sign reliever who criticized Babe Ruth
Mike Golic finds it comical that the Yankees signed reliever Adam Ottavino who previously stated he would "strike out Babe Ruth every time."
Kris Bryant: 'Not good' that stars Bryce Harper, Manny Machado remain unsigned
Kris Bryant and Evan Longoria expressed frustration that several free agents, including stars Bryce Harper and Manny Machado, are still looking for jobs as February nears.
Red Sox manager Alex Cora may reconsider decision to visit White House
Red Sox manager Alex Cora, a Puerto Rico native who has been outspoken about its need for hurricane relief, indicated on Thursday that he may skip the World Series celebration at the White House over President Trump's policies toward the island.