erofs-utils: lib: exclude: #include PATH_MAX workaround
authorAhelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Thu, 15 Aug 2024 20:15:44 +0000 (22:15 +0200)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Fri, 16 Aug 2024 06:23:01 +0000 (14:23 +0800)
Fixes build on the hurd.

Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Link: https://lore.kernel.org/r/xs4azw3vs7oryqnpkvzsl6qbmma6p646igoklia2fextt6pdiw@tarta.nabijaczleweli.xyz
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
lib/exclude.c

index e3c4ed56887d7ca92438d146d72be8976b2f2de7..5f6107b24a605eb1560ebbe5fa6e35ec2a4ac260 100644 (file)
@@ -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)