Merge pull request #9137 from heitbaum/pvr

Revert "pvr.stalker: fix gcc-14 build"
This commit is contained in:
Matthias Reichl 2024-07-31 10:05:04 +02:00 committed by GitHub
commit 468d9f50fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,22 +0,0 @@
From 9286f1d7f21f309cfadd35c9872a7d42eb6a4495 Mon Sep 17 00:00:00 2001
From: Rudi Heitbaum <rudi@heitbaum.com>
Date: Sun, 5 May 2024 00:50:22 +1000
Subject: [PATCH] Fix missing stdlib.h header
Required for compiling with gcc-14
---
lib/libstalkerclient/xmltv.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/libstalkerclient/xmltv.c b/lib/libstalkerclient/xmltv.c
index afe8555..c8fbab7 100644
--- a/lib/libstalkerclient/xmltv.c
+++ b/lib/libstalkerclient/xmltv.c
@@ -23,6 +23,7 @@
#include <errno.h>
#include <inttypes.h>
+#include <stdlib.h>
#include <string.h>
#include "util.h"