fix(modem): warning in ap-2-pppos example when using lwip/napt

Latest IDF added new napt API that support enabling NAPT based on netif
pointer. Need to include "lwip/netif.h"
This commit is contained in:
David Cermak
2023-03-16 09:26:07 +01:00
parent 4c7720a2c1
commit bf32e452d6

View File

@ -14,6 +14,7 @@
#include "esp_log.h" #include "esp_log.h"
#include "esp_idf_version.h" #include "esp_idf_version.h"
#include "nvs_flash.h" #include "nvs_flash.h"
#include "lwip/netif.h"
#include "lwip/lwip_napt.h" #include "lwip/lwip_napt.h"
#include "freertos/FreeRTOS.h" #include "freertos/FreeRTOS.h"
#include "freertos/event_groups.h" #include "freertos/event_groups.h"