esp-idf/components/lwip/port/linux/include/sys/socket.h
David Cermak b2af4d9689 lwip/linux: Add lwip support for networking component under linux
linux/lwip: Wrap some IO posix functions
* to workaourd the FreeRTOS EINTR issue (when building without lwip)
* to correctly choose the sub-system based on fd (when building with
lwip) -- passing control to either linux/system or to lwip
This commit also addapts tapio-if to provide DHCP client by default and
configurable settings for static IP
2023-05-05 05:03:39 +00:00

14 lines
384 B
C

/*
* SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
#ifdef LWIP_HDR_LINUX_SYS_SOCKETS_H
/* only if we prefer linux system sockets, include from system paths */
#include_next <sys/socket.h>
#else
/* Include lwip sockets by default */
#include "lwip/sockets.h"
#endif /* LWIP_HDR_LINUX_SYS_SOCKETS_H */