Ответ:
The action continued for several hours before another past action, so the past perfect continuous is required.
Answer: c) had been waiting
The action continued for several hours before another past action, so the past perfect continuous is required.
Answer: c) had been waiting