diff --git a/components/asio/port/include/asio/detail/config.hpp b/components/asio/port/include/asio/detail/config.hpp index 288fe08b8a..beee4ad4e0 100644 --- a/components/asio/port/include/asio/detail/config.hpp +++ b/components/asio/port/include/asio/detail/config.hpp @@ -7,5 +7,6 @@ #include "sys/socket.h" #include "socketpair.h" +#include "asio_stub.hpp" #include_next "asio/detail/config.hpp" diff --git a/components/asio/port/include/asio_stub.hpp b/components/asio/port/include/asio_stub.hpp new file mode 100644 index 0000000000..d0c6bb14af --- /dev/null +++ b/components/asio/port/include/asio_stub.hpp @@ -0,0 +1,9 @@ +/* + * SPDX-FileCopyrightText: 2025 Espressif Systems (Shanghai) CO LTD + * + * SPDX-License-Identifier: Apache-2.0 + */ +#pragma once +#include + +extern "C" int pthread_sigmask(int, const sigset_t *, sigset_t *);