feat(mdns): change the file order for compile on 8266

This commit is contained in:
Liu Han
2018-09-26 11:21:04 +08:00
committed by Dong Heng
parent dcbbed9c27
commit f6166d555e
4 changed files with 8 additions and 5 deletions

View File

@ -13,9 +13,11 @@
// limitations under the License.
#include "mdns.h"
#include "mdns_private.h"
#include "mdns_networking.h"
#include "mdns_private.h"
#include <string.h>
#include <stdlib.h>
#ifdef MDNS_ENABLE_DEBUG
void mdns_debug_packet(const uint8_t * data, size_t len);

View File

@ -11,6 +11,7 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#ifdef MDNS_ENABLE_CONSOLE
#include <stdio.h>
#include <string.h>
#include "esp_console.h"
@ -1057,4 +1058,4 @@ void mdns_console_register()
register_mdns_query_ip();
register_mdns_query_svc();
}
#endif

View File

@ -4,6 +4,7 @@
*
*/
#include <string.h>
#include <stdlib.h>
#include "mdns_networking.h"

View File

@ -5,8 +5,6 @@
* MDNS Server Networking -- private include
*
*/
#include "mdns.h"
#include "mdns_private.h"
#include "sdkconfig.h"
#include "freertos/FreeRTOS.h"
#include "freertos/queue.h"
@ -21,7 +19,8 @@
#include "esp_system.h"
#include "esp_timer.h"
#include "esp_event_loop.h"
#include "mdns.h"
#include "mdns_private.h"
/**
* @brief Queue RX packet action