Index: trunk/backend/escl/escl_capabilities.c =================================================================== --- trunk.orig/backend/escl/escl_capabilities.c +++ trunk/backend/escl/escl_capabilities.c @@ -35,6 +35,10 @@ #include "../include/sane/saneopts.h" +#ifndef PATH_MAX + #define PATH_MAX 4096 +#endif + struct cap { char *memory;