mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 20:41:14 +00:00
lwip: Support for linux target
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.
This commit is contained in:
12
components/lwip/port/linux/include/sys/fcntl.h
Normal file
12
components/lwip/port/linux/include/sys/fcntl.h
Normal file
@@ -0,0 +1,12 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
#pragma once
|
||||
#ifdef LWIP_HDR_ESP_LWIPOPTS_H
|
||||
// ignore when included from lwipopts.h since lwip provides all necessary definitions
|
||||
#else
|
||||
// otherwise include system fcntl
|
||||
#include_next <sys/fcntl.h>
|
||||
#endif
|
Reference in New Issue
Block a user