2024-01-17 14:16:06 +08:00
|
|
|
/*
|
|
|
|
|
* SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD
|
|
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
*/
|
|
|
|
|
|
2021-11-16 00:08:12 +01:00
|
|
|
#if __has_include(<bsd/sys/queue.h>)
|
|
|
|
|
/* On Linux, try using sys/queue.h provided by libbsd-dev */
|
|
|
|
|
#include <bsd/sys/queue.h>
|
|
|
|
|
#else
|
|
|
|
|
/* Fall back to sys/queue.h which may exist e.g. on macOS */
|
|
|
|
|
#include_next <sys/queue.h>
|
|
|
|
|
#endif
|