Skip to content

Commit

Permalink
Merge pull request lcompilers#2461 from barracuda156/apple
Browse files Browse the repository at this point in the history
stacktrace.cpp: include syslimits.h for PATH_MAX
  • Loading branch information
certik authored Jan 10, 2024
2 parents 0d43cc4 + 140aa68 commit 53fb1d3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/libasr/stacktrace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
// For registering SIGSEGV callbacks
#include <csignal>

#ifdef __APPLE__
// For PATH_MAX
# include <sys/syslimits.h>
#endif


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

0 comments on commit 53fb1d3

Please sign in to comment.