Fixes the following error (on ppc64le): sysfs.c: In function 'sysfs_is_multipathed': sysfs.c:304:15: error: 'PATH_MAX' undeclared (first use in this function) char pathbuf[PATH_MAX]; ^~~~~~~~ sysfs.c:304:15: note: each undeclared identifier is reported only once for each function it appears in sysfs.c:304:7: warning: unused variable 'pathbuf' [-Wunused-variable] char pathbuf[PATH_MAX]; ^~~~~~~ make[1]: *** [../Makefile.inc:134: sysfs.o] Error 1 --- a/libmultipath/sysfs.c +++ b/libmultipath/sysfs.c @@ -28,6 +28,7 @@ #include #include #include +#include #include "checkers.h" #include "vector.h"