When using arm-linux-gnueabihf compiler, compilation fails with message:
error: ‘PATH_MAX’ undeclared (first use in this function); did you mean ‘INT8_MAX’?
size_t cwd_size = PATH_MAX;
^~~~
INT8_MAX
When added #include <linux/limits.h> to the file process.posix.c, everything works fine.
When using arm-linux-gnueabihf compiler, compilation fails with message: error: ‘PATH_MAX’ undeclared (first use in this function); did you mean ‘INT8_MAX’? size_t cwd_size = PATH_MAX; ^
~~~ INT8_MAXWhen added #include <linux/limits.h> to the file process.posix.c, everything works fine.