Skip to content

Commit 174f022

Browse files
committed
Merge bitcoin/bitcoin#27144: kernel: add missing include
49d01f3 kernel: add missing include (Cory Fields) Pull request description: This syncs the cs_main definition/declaration. Noticed when experimenting with the external visibility of `cs_main`. Specifically, this is needed for the following to work as intended: ```c++ __attribute__ ((visibility ("default"))) extern RecursiveMutex cs_main; ``` ACKs for top commit: fanquake: ACK 49d01f3 Tree-SHA512: ea0dbcf81959566f949d76c7dcd1e33de53e613519500c863bfb0ac8209665b1c12cff2daa7890d03b76debc4d046339ee7b3231adb71b128e9d5a8fa3132b6c
2 parents 30874a7 + 49d01f3 commit 174f022

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/kernel/cs_main.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// Distributed under the MIT software license, see the accompanying
33
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
44

5+
#include <kernel/cs_main.h>
56
#include <sync.h>
67

78
RecursiveMutex cs_main;

0 commit comments

Comments
 (0)