From b7ca8a06d3e4284ec639c6ef0b78a68b67d7483a Mon Sep 17 00:00:00 2001 From: Laurent Bigonville Date: Sat, 20 Mar 2021 12:03:45 +0100 Subject: [PATCH] Fix FTBFS on hurd-i386 architecture These patches are carried in debian ATM --- libgimpbase/gimpreloc.c | 3 +++ plug-ins/common/qbist.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/libgimpbase/gimpreloc.c b/libgimpbase/gimpreloc.c index 7ed1783b3c7..dec6ea769f4 100644 --- a/libgimpbase/gimpreloc.c +++ b/libgimpbase/gimpreloc.c @@ -27,6 +27,9 @@ #include "gimpreloc.h" +#ifndef PATH_MAX +#define PATH_MAX 4096 +#endif /* * Find the canonical filename of the executable. Returns the filename diff --git a/plug-ins/common/qbist.c b/plug-ins/common/qbist.c index c1bcdf21227..0611a8aa87c 100644 --- a/plug-ins/common/qbist.c +++ b/plug-ins/common/qbist.c @@ -38,6 +38,9 @@ #include "libgimp/stdplugins-intl.h" +#ifndef PATH_MAX +#define PATH_MAX 4096 +#endif #define MAX_TRANSFORMS 36 #define NUM_REGISTERS 6 -- GitLab