From da08eb3d75cec99d5f75fc591c1c3a899ac41e24 Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Wed, 24 Sep 2025 14:30:25 +0200 Subject: [PATCH] [client,x11] fix missing prototype due to X11 type definition conflicts the header can not be included. Add a function definition to silence warnigns. --- client/X11/xf_x11_utils.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/X11/xf_x11_utils.c b/client/X11/xf_x11_utils.c index 6bb741728..d577856c4 100644 --- a/client/X11/xf_x11_utils.c +++ b/client/X11/xf_x11_utils.c @@ -19,6 +19,8 @@ */ // Do not include! X11 has conflicting defines #include "xf_utils.h" +const char* request_code_2_str(int code); + #include const char* request_code_2_str(int code)