File 0005-fix-gcc15-sys-select.patch of Package media-ffmpeg-god-git

From: Misaka Build Factory
Subject: Fix GCC 15 missing sys/select.h include

GCC 15 no longer implicitly includes sys/select.h from other headers.

--- a/libavformat/tls_gnutls.c
+++ b/libavformat/tls_gnutls.c
@@ -20,6 +20,8 @@
 
 #include <errno.h>
 
+#include <sys/select.h>
+
 #include <gnutls/gnutls.h>
 #include <gnutls/dtls.h>
 #include <gnutls/x509.h>
openSUSE Build Service is sponsored by