esp-idf/components/linux/include/machine/endian.h
Ivan Grokhotkov 6f9038809a
fix(esp_netif): move endian.h to linux component, fix macOS build
Co-authored-by: Radek Tandler <radek.tandler@espressif.com>
2023-12-19 23:00:48 +01:00

12 lines
210 B
C

/*
* 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