Skip to content

Commit

Permalink
src: scope <mutex> in NAPI_HAS_THREADS
Browse files Browse the repository at this point in the history
  • Loading branch information
toyobayashi committed Feb 11, 2023
1 parent 106abfa commit 69300c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions napi-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@

#include <algorithm>
#include <cstring>
#if NAPI_HAS_THREADS
#include <mutex>
#endif
#include <type_traits>
#include <utility>

Expand Down

0 comments on commit 69300c3

Please sign in to comment.