From: Alberto Garcia Date: Mon, 7 Aug 2017 04:35:25 +0000 (+0100) Subject: Define PATH_MAX if it's not already defined X-Git-Tag: archive/raspbian/2.16.6-0+deb9u1+rpi1^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=13597a1b0c6c371a8c6d12c185a918f6bf0d8d44;p=webkit2gtk.git Define PATH_MAX if it's not already defined =================================================================== Gbp-Pq: Name fix-ftbfs-hurd.patch --- diff --git a/Source/WebCore/platform/text/hyphen/HyphenationLibHyphen.cpp b/Source/WebCore/platform/text/hyphen/HyphenationLibHyphen.cpp index 6c206b8aa0..d910c422bb 100644 --- a/Source/WebCore/platform/text/hyphen/HyphenationLibHyphen.cpp +++ b/Source/WebCore/platform/text/hyphen/HyphenationLibHyphen.cpp @@ -45,6 +45,10 @@ #include #endif +#if !defined(PATH_MAX) +#define PATH_MAX 4096 +#endif + namespace WebCore { static const char* const gDictionaryDirectories[] = {