--- a/src/binreloc.c +++ b/src/binreloc.c @@ -24,6 +24,10 @@ #include #include "binreloc.h" +#ifndef PATH_MAX +#define PATH_MAX 4096 +#endif + #ifdef __cplusplus extern "C" { #endif /* __cplusplus */