loader: include limits.h for PATH_MAX
authornia <nia@NetBSD.org>
Sat, 31 Aug 2019 17:10:07 +0000 (18:10 +0100)
committerEric Engestrom <eric@engestrom.ch>
Mon, 2 Sep 2019 15:49:34 +0000 (15:49 +0000)
commit1900b82dbfd0dff993e8b9d84fa1d8b03c5f6fa5
tree7cdabd01fffab2a316e7157e93596a1608a079d5
parent2f82d972ab982a816009228ff62bd5c5434062ca
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 <eric@engestrom.ch>
src/loader/loader.c