How long after my ex husband files an amendment, allowing me to claim my son, can I file?

How long do I need to wait to file my return after my ex husband amended his form allowing me to claim my child? He amended his return last night and I don't want to send mine in before the IRS recognizes the mistake.