Declare errno if it's not defined.