From b4905782427b87900ab89d489961ac8c4e83fa3b Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sun, 13 Apr 2025 12:12:57 -0700 Subject: [PATCH] os: connection.c should include header that defines GrabInProgress Clears warning from clang 19.1.7: os/connection.c:133:5: warning: no previous extern declaration for non-static variable 'GrabInProgress' [-Wmissing-variable-declarations] 133 | int GrabInProgress = 0; | ^ Signed-off-by: Alan Coopersmith Part-of: --- os/connection.c | 1 + 1 file changed, 1 insertion(+) diff --git a/os/connection.c b/os/connection.c index 07d6cbe8a..d0d7c10c5 100644 --- a/os/connection.c +++ b/os/connection.c @@ -102,6 +102,7 @@ SOFTWARE. #include "misc.h" /* for typedef of pointer */ #include "dixstruct_priv.h" +#include "globals.h" #include "xace.h" #ifdef HAVE_GETPEERUCRED