On 2/4/19 9:31 AM, Patrick Steinhardt wrote: > While making use of the PATH_MAX constant, "file.c" does not include the > "limits.h" header. While it is being transitively included via other > headers on most platforms, it is not on e.g. musl-based systems. > > Add the include to fix compilation. Committed... steved. > > Signed-off-by: Patrick Steinhardt <ps@xxxxxx> > --- > support/misc/file.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/support/misc/file.c b/support/misc/file.c > index 4065376..e7c3819 100644 > --- a/support/misc/file.c > +++ b/support/misc/file.c > @@ -27,6 +27,7 @@ > #include <dirent.h> > #include <stdlib.h> > #include <stdbool.h> > +#include <limits.h> > > #include "xlog.h" > #include "misc.h" >