diff options
author | nia <[email protected]> | 2019-08-31 18:10:07 +0100 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2019-09-02 15:49:34 +0000 |
commit | 1900b82dbfd0dff993e8b9d84fa1d8b03c5f6fa5 (patch) | |
tree | 7cdabd01fffab2a316e7157e93596a1608a079d5 /src/loader/loader.c | |
parent | 2f82d972ab982a816009228ff62bd5c5434062ca (diff) |
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 <[email protected]>
Diffstat (limited to 'src/loader/loader.c')
-rw-r--r-- | src/loader/loader.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 <string.h> #include <unistd.h> #include <stdlib.h> +#include <limits.h> #include <sys/param.h> #ifdef MAJOR_IN_MKDEV #include <sys/mkdev.h> |