In ailing Rafael Nadal battled past qualifier Tim Smyczek in five sets to reach the Australian Open third round.
The Spaniard fought back to win 6-2 3-6 6-7 (2-7) 6-3 7-5 and avoid his earliest ever defeat in Melbourne.
Nadal, seeded third, required treatment from the doctor for stomach cramps in the third set and repeatedly doubled over in distress.
The 28-year-old was playing just his 10th match since Wimbledon because of injury and illness in 2014.
“At the end of the first set, I started to feel my body was very bad, very tired,” said Nadal. “I was worrying like crazy. Then I was serving for the third and almost threw up. It was a terrible feeling.
“I was close to not continuing because I felt that I was very dizzy.
“I was suffering a lot. Too much. Obviously it’s a very positive thing that finally I have the chance to win, but I hope to recover myself.”