Boston — The Boston Red Sox acquired infielder Aaron Hill from the Milwaukee Brewers in exchange for two minor leaguers.

The Red Sox will also receive cash in the deal that sent right-hander Aaron Wilkerson and infielder Wendell Rijo to Milwaukee.

To make room for Hill on the 40-man roster, the Red Sox designated outfielder Ryan LaMarre for assignment.

Hill, 34, is batting .283 with eight homers and 29 RBIs in 78 games this season. In his career, he has hit .269 with 159 homers for Toronto, Arizona and Milwaukee. He was an All-Star with the Blue Jays in 2009.

Wilkerson is 6-3 with a 2.14 ERA in Double-A and Triple-A this season. Rijo, 20, was named Boston’s 15th-best prospect by Baseball America last offseason.

More All-Stars Added

San Diego — St. Louis rookie shortstop Aledmys Diaz will replace his teammate, infielder Matt Carpenter, on the National League roster for next week’s All-Star game.

The American League also made a change, with Cleveland right-hander Corey Kluber stepping in for Toronto pitcher Marco Estrada, who has been placed on the 15-day disabled list.

Mets Pitcher May Need Surgery

New York — Matt Harvey has symptoms consistent with thoracic outlet syndrome, and the struggling New York Mets star could be facing season-ending surgery to treat a serious condition that has jeopardized the career of other major league pitchers.

General manager Sandy Alderson announced the diagnosis Thursday after Harvey was examined in St. Louis by a specialist, Dr. Robert Thompson. Alderson said a decision on surgery is likely to come in the next few days before the All-Star break.

Thoracic outlet syndrome is a condition caused by the compression of nerves, blood vessels or both in the area between the neck and armpit.

After his start Monday, the 27-year-old Harvey complained of some common symptoms, which include numbness in fingers and shoulder discomfort.

HR Derby Field Announced

New York — Defending champion Todd Frazier and Mark Trumbo lead the field for Monday’s All-Star Home Run Derby in San Diego.

Frazier, second in the American League with 23 homers, will take on Colorado’s Carlos Gonzalez in the first round, while Trumbo — the No. 1 seed and current major league leader with 26 — faces the Los Angeles Dodgers’ Cory Seager.

Cincinnati’s Adam Duvall is paired with the host Padres’ Wil Myers and Seattle’s Robinson Cano will go against Miami’s Giancarlo Stanton in the other matchups. The Trumbo-Seager winner will face Cano or Stanton in the semifinals, while the Frazier-Gonzalez winner will go against Duvall or Myers.