summaryrefslogtreecommitdiffstats
path: root/multimedia/icecast/patches/030-stdlib.patch
blob: f32ae9b1216cd2ea09eb3f8e2804578ad7623cb6 (plain)
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
26
27
28
29
30
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>