Skip to content

Commit 7f8494a

Browse files
authored
Merge pull request #974 from david-cermak/fix/asio_picolib
[asio]: Fix picolib missing pthread_sigmask() declaration
2 parents fdec046 + 25d54ef commit 7f8494a

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

components/asio/port/include/asio/detail/config.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@
77

88
#include "sys/socket.h"
99
#include "socketpair.h"
10+
#include "asio_stub.hpp"
1011

1112
#include_next "asio/detail/config.hpp"
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/*
2+
* SPDX-FileCopyrightText: 2025 Espressif Systems (Shanghai) CO LTD
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
#pragma once
7+
#include <signal.h>
8+
9+
extern "C" int pthread_sigmask(int, const sigset_t *, sigset_t *);

0 commit comments

Comments
 (0)