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 <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1910>
This commit is contained in:
Alan Coopersmith 2025-04-13 12:12:57 -07:00 committed by Marge Bot
parent 0fefdc6e29
commit b490578242

View File

@ -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