Dave Winfield singled with two out in the ninth inning, driving home Rickey Henderson from third base to complete a two-run rally that lifted the New York Yankees over the Baltimore Orioles today, 6-5, pulling out a 21st victory for Ron Guidry.

Baltimore Manager Earl Weaver said his club's ninth loss in 10 games against the Yankees typified the Orioles' season: "That's the difference all year . . . We seem to be one run short or one inning too long."

"There's always hope," said Winfield, who hit his 25th home run, with a man on, in the first inning as the Yankees remained six games behind American League East leader Toronto.

The Yankees play three games at Toronto at the season's close next weekend.

Guidry (21-6), top winner in the league, pitched a complete game despite a yield of 11 hits, including five doubles, a triple and Gary Roenicke's two-run homer.

"It was a battle out there," Guidry said.

New York Manager Billy Martin said, "I almost took him out three times," but stuck with his ace. "I had two things in mind," Martin said. "The win and the chance at the Cy Young Award."

Pinch hitter Dan Pasqua led off the New York ninth with a single, took second on a sacrifice by Bobby Meacham and went to third on a single by Orioles nemesis Henderson. After Henderson stole second, Ken Griffey grounded out, Pasqua scoring and Henderson reaching third. Don Mattingly was intentionally walked, then Winfield hit a soft liner to left off Sammy Stewart (5-6).

Alan Wiggins put Baltimore up, 5-4, with an RBI single in the seventh, as Stewart stifled the Yankees on one hit for 4 1/3 innings until the ninth.

Stewart took over for starter Ken Dixon, who had allowed five hits, with two out in the fourth and the score 4-4.