Skip to content

Commit 86733dc

Browse files
fix: add missing cstdlib header in cli_args.cpp (#8089)
Add missing #include <cstdlib> header to provide declaration for std::strtol function used on line 67. This fixes compilation issues in some environments where the function declaration was not available. This closes #8088
1 parent 5aeef51 commit 86733dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/realm/util/cli_args.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#include "realm/util/cli_args.hpp"
22

33
#include <algorithm>
4+
#include <cstdlib>
45
#include <cerrno>
56
#include <cstdint>
67
#include <string>

0 commit comments

Comments
 (0)