From 9d0eb0dd8af1974204ed8d47a224da844a43f9f3 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Tue, 25 Jan 2022 15:35:19 -0800 Subject: [PATCH] Add necessary #include for PATH_MAX on Linux Builds fail on some linux systems, because none of the included headers imply that `` was included. --- src/init.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/init.c b/src/init.c index f4c3bae4c..019d3efef 100644 --- a/src/init.c +++ b/src/init.c @@ -24,6 +24,9 @@ // NOTE: this file must not contain any atomic operations #include "internal.h" +#if __linux__ +#include // for PATH_MAX +#endif #if HAVE_MACH #include "protocolServer.h"