DaanDeMeyer / reproc

A cross-platform (C99/C++11) process library
MIT License
552 stars 65 forks source link

Missing include #75

Closed hofin34 closed 2 years ago

hofin34 commented 2 years ago

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.

DaanDeMeyer commented 2 years ago

Should be fixed by 3eabeb38f44f9920a2d7dc10e70498d7512b453f. Let me know if you're still seeing issues.