Well, you are allowed to take sips of water. Kill time by walking around to distract your mind from food or eating. Its just for a few hrs, you can do it.
If it's a check up that requires fasting, there's nothing much you can do aBout it. Just have a good well balanced meal after your appt. Take care!