Afghanistan's president said Saturday that the United States failed to consult Afghan forces when calling in an airstrike this week that killed 18 civilians, and warned that his government in the future will consider any such actions as violating the country's pact with Washington.