Skip to content

Commit

Permalink
labrats: Add include needed for PATH_MAX on Apple OSes
Browse files Browse the repository at this point in the history
  • Loading branch information
oleavr committed May 3, 2024
1 parent 2f4dd22 commit ac4fc1c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/labrats/spawner-unix.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
# include <linux/limits.h>
#endif
#ifdef __APPLE__
# include <sys/param.h>
# define environ (* _NSGetEnviron ())
extern char *** _NSGetEnviron (void);
#else
Expand Down

0 comments on commit ac4fc1c

Please sign in to comment.