mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 20:21:04 +00:00
fix(esp_netif): move endian.h to linux component, fix macOS build
Co-authored-by: Radek Tandler <radek.tandler@espressif.com>
This commit is contained in:
11
components/linux/include/machine/endian.h
Normal file
11
components/linux/include/machine/endian.h
Normal file
@@ -0,0 +1,11 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
#pragma once
|
||||
#if __APPLE__
|
||||
#include_next <machine/endian.h>
|
||||
#else
|
||||
#include <endian.h>
|
||||
#endif
|
Reference in New Issue
Block a user