X-Git-Url: https://git.toastfreeware.priv.at/debian/cpulimit.git/blobdiff_plain/3346f81a6087bf776229c1bf6a9054955511fd6d..34fafe2f105bd63e59ba11a46af63242a2091e39:/cpulimit.c diff --git a/cpulimit.c b/cpulimit.c index 709bda1..a72ed0f 100644 --- a/cpulimit.c +++ b/cpulimit.c @@ -43,6 +43,11 @@ #define min(a,b) (ab?a:b) +// For platforms without PATH_MAX +#ifndef PATH_MAX +#define PATH_MAX 4096 +#endif + //pid of the controlled process int pid=0; //executable file name