Revert "pthread: We should not directly include arch/spinlock.h as it may cause compilation errors in C++."

This reverts commit 444a9fbcd6.
This commit is contained in:
chao an
2024-10-14 17:42:16 +08:00
committed by Xiang Xiao
parent ce42a9affc
commit 2a65a34bee
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -49,7 +49,7 @@
* SP_LOCKED and SP_UNLOCKED must constants of type spinlock_t.
*/
# include <nuttx/spinlock.h>
# include <arch/spinlock.h>
#endif
/****************************************************************************