From 1900b82dbfd0dff993e8b9d84fa1d8b03c5f6fa5 Mon Sep 17 00:00:00 2001 From: nia Date: Sat, 31 Aug 2019 18:10:07 +0100 Subject: [PATCH] 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 --- src/loader/loader.c | 1 + 1 file changed, 1 insertion(+) 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 -- 2.30.2