mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-08-06 15:15:15 +08:00
feat(mdns): change the file order for compile on 8266
This commit is contained in:
@ -13,9 +13,11 @@
|
|||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#include "mdns.h"
|
#include "mdns.h"
|
||||||
#include "mdns_private.h"
|
|
||||||
#include "mdns_networking.h"
|
#include "mdns_networking.h"
|
||||||
|
#include "mdns_private.h"
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
#ifdef MDNS_ENABLE_DEBUG
|
#ifdef MDNS_ENABLE_DEBUG
|
||||||
void mdns_debug_packet(const uint8_t * data, size_t len);
|
void mdns_debug_packet(const uint8_t * data, size_t len);
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
#ifdef MDNS_ENABLE_CONSOLE
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "esp_console.h"
|
#include "esp_console.h"
|
||||||
@ -1057,4 +1058,4 @@ void mdns_console_register()
|
|||||||
register_mdns_query_ip();
|
register_mdns_query_ip();
|
||||||
register_mdns_query_svc();
|
register_mdns_query_svc();
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <stdlib.h>
|
||||||
#include "mdns_networking.h"
|
#include "mdns_networking.h"
|
||||||
|
|
||||||
|
|
||||||
|
@ -5,8 +5,6 @@
|
|||||||
* MDNS Server Networking -- private include
|
* MDNS Server Networking -- private include
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#include "mdns.h"
|
|
||||||
#include "mdns_private.h"
|
|
||||||
#include "sdkconfig.h"
|
#include "sdkconfig.h"
|
||||||
#include "freertos/FreeRTOS.h"
|
#include "freertos/FreeRTOS.h"
|
||||||
#include "freertos/queue.h"
|
#include "freertos/queue.h"
|
||||||
@ -21,7 +19,8 @@
|
|||||||
#include "esp_system.h"
|
#include "esp_system.h"
|
||||||
#include "esp_timer.h"
|
#include "esp_timer.h"
|
||||||
#include "esp_event_loop.h"
|
#include "esp_event_loop.h"
|
||||||
|
#include "mdns.h"
|
||||||
|
#include "mdns_private.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Queue RX packet action
|
* @brief Queue RX packet action
|
||||||
|
Reference in New Issue
Block a user