Skip to content

Commit 20b28ad

Browse files
committed
Include limits.h in autostart_linux.cpp
Added the limits.h header to autostart_linux.cpp to provide definitions for system limits such as PATH_MAX. This may be required for portability or to resolve compilation issues.
1 parent 9034701 commit 20b28ad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/platform/linux/autostart_linux.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#include <sys/stat.h>
33
#include <sys/types.h>
44
#include <unistd.h>
5+
#include <limits.h>
56

67
#include <algorithm>
78
#include <cerrno>

0 commit comments

Comments
 (0)