SHA256
1
0
forked from pool/xsession
xsession/xsession-implicit-shutdown.patch
Dr. Werner Fink 3069416d92 - Add xsession-implicit-shutdown.patch: Fix build with GCC 14:
xsession.c:212:5: error: implicit declaration of function ‘shutdown’

OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/xsession?expand=0&rev=6
2024-09-12 12:51:58 +00:00

13 lines
308 B
Diff

Index: xsession-1.1/xsession.c
===================================================================
--- xsession-1.1.orig/xsession.c
+++ xsession-1.1/xsession.c
@@ -52,6 +52,7 @@
#include <signal.h>
#include "xsession.h"
#include "resources.h"
+#include <sys/socket.h>
#ifdef SOUNDS
#include <rplay.h>