From cac5660f2b5cb551c9c4282b55df0d8376deec47 Mon Sep 17 00:00:00 2001 From: Przemyslaw Pawelczyk Date: Mon, 28 Nov 2016 14:59:19 +0100 Subject: examples/passthrough_ll.c: Include (for PATH_MAX macro). Otherwise building w/o optimization (-O0) fails. passthrough_ll.c: In function 'lo_readlink': passthrough_ll.c:251:11: error: 'PATH_MAX' undeclared (first use in this function) char buf[PATH_MAX + 1]; (gcc v5.3.0 in Alpine Linux v3.4.6 x86_64 w/ musl-libc v1.1.14.) --- example/passthrough_ll.c | 1 + 1 file changed, 1 insertion(+) diff --git a/example/passthrough_ll.c b/example/passthrough_ll.c index 32e4ff6..b40cf76 100644 --- a/example/passthrough_ll.c +++ b/example/passthrough_ll.c @@ -37,6 +37,7 @@ #include #include #include +#include #include #include #include -- cgit v1.2.3