From: nia Date: Sat, 31 Aug 2019 17:10:07 +0000 (+0100) Subject: loader: include limits.h for PATH_MAX X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1900b82dbfd0dff993e8b9d84fa1d8b03c5f6fa5;p=mesa.git loader: include limits.h for PATH_MAX This is needed to build on illumos. The location of the PATH_MAX definition in limits.h seems to be fairly standard: https://pubs.opengroup.org/onlinepubs/009695399/basedefs/limits.h.html Reviewed-by: Eric Engestrom --- diff --git a/src/loader/loader.c b/src/loader/loader.c index d8d71c30200..7f29d19cfdf 100644 --- a/src/loader/loader.c +++ b/src/loader/loader.c @@ -36,6 +36,7 @@ #include #include #include +#include #include #ifdef MAJOR_IN_MKDEV #include