From b27234cfefcc6a2e74d6e6ee3c1a0fa2c8db49a6 Mon Sep 17 00:00:00 2001 From: Bilal Elmoussaoui Date: Wed, 18 May 2022 21:34:13 +0000 Subject: [PATCH] startup/x11: Fix compiling without startup-notification If startup_notification is disabled, linking against sn would fail Part-of: --- src/x11/meta-startup-notification-x11.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/x11/meta-startup-notification-x11.c b/src/x11/meta-startup-notification-x11.c index 42be6d580..b870f071f 100644 --- a/src/x11/meta-startup-notification-x11.c +++ b/src/x11/meta-startup-notification-x11.c @@ -20,7 +20,6 @@ #include "meta-startup-notification-x11.h" #include -#include #include "core/display-private.h" #include "core/startup-notification-private.h" @@ -29,6 +28,8 @@ #ifdef HAVE_STARTUP_NOTIFICATION +#include + enum { PROP_SEQ_X11_0,