Skip to content

Commit 53fb1d3

Browse files
authored
Merge pull request #2461 from barracuda156/apple
stacktrace.cpp: include syslimits.h for PATH_MAX
2 parents 0d43cc4 + 140aa68 commit 53fb1d3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/libasr/stacktrace.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@
1515
// For registering SIGSEGV callbacks
1616
#include <csignal>
1717

18+
#ifdef __APPLE__
19+
// For PATH_MAX
20+
# include <sys/syslimits.h>
21+
#endif
22+
1823

1924
// The following C headers are needed for some specific C functionality (see
2025
// the comments), which is not available in C++:

0 commit comments

Comments
 (0)