From: Ahelenia Ziemiańska Date: Thu, 15 Aug 2024 20:15:44 +0000 (+0200) Subject: erofs-utils: lib: exclude: #include PATH_MAX workaround X-Git-Tag: v1.8.2~21 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8305ee8d868d7045918ef2f2ab5df53851770d2c;p=platform%2Fupstream%2Ferofs-utils.git erofs-utils: lib: exclude: #include PATH_MAX workaround Fixes build on the hurd. Signed-off-by: Ahelenia Ziemiańska Link: https://lore.kernel.org/r/xs4azw3vs7oryqnpkvzsl6qbmma6p646igoklia2fextt6pdiw@tarta.nabijaczleweli.xyz Signed-off-by: Gao Xiang --- diff --git a/lib/exclude.c b/lib/exclude.c index e3c4ed5..5f6107b 100644 --- a/lib/exclude.c +++ b/lib/exclude.c @@ -8,6 +8,7 @@ #include "erofs/list.h" #include "erofs/print.h" #include "erofs/exclude.h" +#include "erofs/internal.h" #define EXCLUDE_RULE_EXACT_SIZE offsetof(struct erofs_exclude_rule, reg) #define EXCLUDE_RULE_REGEX_SIZE sizeof(struct erofs_exclude_rule)