summaryrefslogtreecommitdiff
path: root/x11/gnome-flashback/files/patch-gnome-flashback_libdesktop_gf-utils.c
blob: 01df58e6d0707bb443835e4e9c92493019c63a0c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- gnome-flashback/libdesktop/gf-utils.c.orig	2025-04-26 13:51:39 UTC
+++ gnome-flashback/libdesktop/gf-utils.c
@@ -20,11 +20,14 @@
 
 #include <gio/gdesktopappinfo.h>
 #include <gtk/gtk.h>
+#ifdef __linux__
 #include <systemd/sd-journal.h>
+#endif
 
 static void
 child_setup (gpointer user_data)
 {
+#ifdef __linux__
   GAppInfo *app_info;
   const gchar *id;
   gint stdout_fd;
@@ -46,6 +49,7 @@ child_setup (gpointer user_data)
       dup2 (stderr_fd, STDERR_FILENO);
       close (stderr_fd);
     }
+#endif
 }
 
 static void