From: Alberto Garcia Date: Fri, 7 Apr 2017 10:56:45 +0000 (+0000) Subject: Define PATH_MAX if it's not already defined X-Git-Tag: archive/raspbian/2.14.7-1+rpi1~1^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6afdf9e257a37db1e0894140b19a762f49a3d4c2;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 2157db3739..d0130a482b 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[] = {