From 9d69dba21f1e46b34cdd8ae27fec11d0803907ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gu=C3=B0ni=20M=C3=A1r=20Gilbert?= Date: Sat, 2 Nov 2024 16:10:18 +0000 Subject: [PATCH] gdbus: define MAX_INPUT for musl This is the same solution as was done in src/shared/util.c --- gdbus/object.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gdbus/object.c b/gdbus/object.c index 84f116bf1..7b0476f1a 100644 --- a/gdbus/object.c +++ b/gdbus/object.c @@ -20,6 +20,12 @@ #include #include "gdbus.h" + +/* define MAX_INPUT for musl */ +#ifndef MAX_INPUT +#define MAX_INPUT _POSIX_MAX_INPUT +#endif + #include "src/shared/util.h" #define info(fmt...)