projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f82d97
)
loader: include limits.h for PATH_MAX
author
nia
<nia@NetBSD.org>
Sat, 31 Aug 2019 17:10:07 +0000
(18:10 +0100)
committer
Eric Engestrom
<eric@engestrom.ch>
Mon, 2 Sep 2019 15:49:34 +0000
(15:49 +0000)
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
patch
|
blob
|
history
diff --git
a/src/loader/loader.c
b/src/loader/loader.c
index d8d71c3020053d74d20f8ae6789f4a894872aeb7..7f29d19cfdf4d3df23fb6f6df23ec7aa8a075b6c 100644
(file)
--- 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>