Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
diskutil: include limits.h for PATH_MAX
On OmniOS, compilation fails because of a missing PATH_MAX definition: $ gmake CC cconv.o In file included from stat.h:6:0, from thread_options.h:7, from cconv.c:4: diskutil.h:52:12: error: 'PATH_MAX' undeclared here (not in a function); did you mean 'INT8_MAX'? char path[PATH_MAX]; ^~~~~~~~ INT8_MAX gmake: *** [Makefile:505: cconv.o] Error 1 Add limits.h to fix that. Link: #1344 Signed-off-by: Jens Axboe <axboe@kernel.dk>
- Loading branch information