lwip: Fix extra or missing includes

pull/8968/head
Darian Leung 2022-04-29 04:43:14 +08:00
rodzic 96ff900d7d
commit 4e4f20d82a
5 zmienionych plików z 10 dodań i 15 usunięć

Wyświetl plik

@ -7,6 +7,7 @@
#define __DHCPS_H__
#include "sdkconfig.h"
#include <stdbool.h>
#include "lwip/ip_addr.h"
#include "lwip/err.h"

Wyświetl plik

@ -1,21 +1,15 @@
// Copyright 2018 Espressif Systems (Shanghai) PTE LTD
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// 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.
/*
* SPDX-FileCopyrightText: 2018-2022 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef _DHCP_STATE_H_
#define _DHCP_STATE_H_
#include <stdbool.h>
#ifdef __cplusplus
extern "C" {
#endif

Wyświetl plik

@ -1,4 +1,6 @@
#include "no_warn_host.h"
#include <stdlib.h> // For abort()
#include <stdio.h> // For printf()
#include "lwip/opt.h"
#include "lwip/stats.h"
#include "lwip/mem.h"

Wyświetl plik

@ -5,7 +5,6 @@
#include "no_warn_host.h"
#include "lwip/pbuf.h"
#include "lwip/udp.h"
#include "esp_netif.h"
#ifndef BUILDING_DEF

Wyświetl plik

@ -982,7 +982,6 @@ components/lwip/port/esp32/include/arch/vfs_lwip.h
components/lwip/port/esp32/include/arpa/inet.h
components/lwip/port/esp32/include/debug/lwip_debug.h
components/lwip/port/esp32/include/netdb.h
components/lwip/port/esp32/include/netif/dhcp_state.h
components/lwip/port/esp32/include/netif/ethernetif.h
components/lwip/port/esp32/include/netif/openthreadif.h
components/lwip/port/esp32/include/netif/wlanif.h