Relations between Baghdad and Ankara were strained a year ago over Turkey's presence at the Bashiqa military base in northern Iraq, where around 500 troops were training local fighters ahead of the successful operation to free Mosul from the Islamic State group. But Reuters reported on Wednesday that an Iraqi military offensive "would continue regardless".
Speaking alongside visiting Iraqi Prime Minister Haider al-Abadi in Ankara, Erdogan also said that talks were underway on possibly closing down the border.
Iraq's self-ruled Kurdish region on Wednesday offered to freeze the results of its controversial independence vote last month as part of a dialogue with Baghdad.
In a statement to media after meeting Abadi, Erdogan said they discussed what political, military and economic steps they could take after what he called the "illegitimate" Iraqi Kurdish referendum last month.
The leaders have had tense relations in the past but appear to have found common ground recently in their mutual opposition to moves by Kurdish leaders in Iraq to push for independence from Baghdad. Neighboring Iran and Turkey, which are battling Kurdish insurgencies within their own borders, are especially on edge. So far, 30,000 Kurds have been displaced in less than two weeks as a result of fighting and looting.
Baghdad is demanding that the Kurds hand over a disputed pipeline they have used to export oil through Turkey. Though the Iraqi Kurdish referendum was a non-binding vote, both Turkey and Iraq strongly opposed it.
The fighting between the central government and the Kurds is particularly tricky for the United States which is close allies of both sides, arming and training both the Kurds and the central government's army to fight against ISIS.
But it caused Kurds to flee en masse from Tuz Khurmato, a multi-ethnic city south of Kirkuk where sectarian tension flared after Iraqi forces took control, humanitarian organisations said.
According to results announced by the KRG, nearly 93 percent of registered voters cast ballots in favor of independence.
The bank is always open for Andrew Wiggins
Carmelo Anthony and the OCT thought they already won the game with just five seconds left for the opponent to score back. E'Twaun Moore added 19 points, and Jrue Holiday and Ian Clark contributed 14 points apiece for the Pelicans.
Campaigns for fresh Kenya poll end Monday night
The Supreme Court of Kenya nullified the August 2017 election on September 1, and ordered the holding of a new one. The Supreme Court of Appeal annulled his victory, saying the poll was marred by irregularities and illegalities.
Amazon Wants To Enter Your Home When You're Not There
Will my package actually be on my porch when I get home? Delivery via this method is available at no extra cost for Prime members. The online retailer will alert customers when the delivery is about to happen so they can watch it live on their phone.
Steelers' Martavis Bryant Wants Out: "Ya'll Can Have JuJu"
But we have, he's done a lot in the period of time that he's been here in terms of improving, not only as a player but as a man. "I just want to be happy, whether it's here or it's somewhere else", Bryant told ESPN's Josina Anderson, via Facebook .