Skip to content

Commit e285f0e

Browse files
committed
fix(port): add missing #include
Fix the following build error on newer Ubuntu: ``` src/quick-lint-js/port/thread-name.cpp:41:55: error: ‘uintptr_t’ in namespace ‘std’ does not name a type 41 | int rc = ::prctl(PR_SET_NAME, reinterpret_cast<std::uintptr_t>(new_name_cstr), | ^~~~~~~~~ ```
1 parent fc41c01 commit e285f0e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/quick-lint-js/port/thread-name.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// See end of file for extended copyright information.
33

44
#include <cerrno>
5+
#include <cstdint>
56
#include <cstring>
67
#include <quick-lint-js/assert.h>
78
#include <quick-lint-js/logging/log.h>

0 commit comments

Comments
 (0)