mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fa97004faf
Implement linux port layer and reuse the original FreeRTOS layer that's compiled and used on linux target as well, by means of FreeRTOS simulator.
14 lines
420 B
C
14 lines
420 B
C
/*
|
|
* SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
#ifndef LWIP_HDR_LINUX_SYS_SOCKETS_H
|
|
#define LWIP_HDR_LINUX_SYS_SOCKETS_H
|
|
/* Include lwip sockets by default */
|
|
#include "lwip/sockets.h"
|
|
#else
|
|
/* Otherwise use system sockets if LWIP_HDR_LINUX_SYS_SOCKETS_H already defined */
|
|
#include_next <sys/socket.h>
|
|
#endif /* LWIP_HDR_LINUX_SYS_SOCKETS_H */
|