Description: Add PATH_MAX if undefined Author: Jörg Frings-Fürst Last-Update: 2020-04-01 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;