1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2025-05-08 19:40:23 +08:00
packages/multimedia/icecast/patches/030-stdlib.patch
Rosen Penev aef483bad5 icecast: fix compilation with GCC14
Upstream backport.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2025-05-02 10:33:00 +02:00

31 lines
668 B
Diff

From 33a0595d1085d2acde65f3418da806e50d7c5ad7 Mon Sep 17 00:00:00 2001
From: Philipp Schafft <phschafft@de.loewenfelsen.net>
Date: Tue, 30 Jul 2024 22:33:28 +0000
Subject: [PATCH] Fix: Added a number of missing includes to <stdlib.h>
---
src/main.c | 1 +
src/xslt.c | 1 +
2 files changed, 2 insertions(+)
--- a/src/main.c
+++ b/src/main.c
@@ -18,6 +18,7 @@
#endif
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <errno.h>
--- a/src/xslt.c
+++ b/src/xslt.c
@@ -14,6 +14,7 @@
#include <config.h>
#endif
+#include <stdlib.h>
#include <string.h>
#include <libxml/xmlmemory.h>
#include <libxml/debugXML.h>