aboutsummaryrefslogtreecommitdiffstats
path: root/main/deadbeef/ee8e3065ab22e812fecc85d5dcf6b45d605b01fc.patch
blob: b3e34bdbfc177ed1db20147155704eec44a31bce (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
From ee8e3065ab22e812fecc85d5dcf6b45d605b01fc Mon Sep 17 00:00:00 2001
From: Carlo Landmeter <clandmeter@gmail.com>
Date: Wed, 29 Oct 2014 10:36:12 +0100
Subject: [PATCH] musl libc needs limits.h inclusion

---
 conf.c                        | 1 +
 plugins/converter/converter.c | 1 +
 plugins/m3u/m3u.c             | 1 +
 3 files changed, 3 insertions(+)

diff --git a/conf.c b/conf.c
index 110bf4e..8bb160e 100644
--- a/conf.c
+++ b/conf.c
@@ -29,6 +29,7 @@
 #include <stdint.h>
 #include <string.h>
 #include <stdlib.h>
+#include <limits.h>
 #include <inttypes.h>
 #include <errno.h>
 #include <unistd.h>
diff --git a/plugins/converter/converter.c b/plugins/converter/converter.c
index f87f3f2..3151243 100644
--- a/plugins/converter/converter.c
+++ b/plugins/converter/converter.c
@@ -26,6 +26,7 @@
 #include <sys/syslimits.h>
 #endif
 #include <stdlib.h>
+#include <limits.h>
 #include <string.h>
 #include <sys/types.h>
 #include <sys/stat.h>
diff --git a/plugins/m3u/m3u.c b/plugins/m3u/m3u.c
index ff3320b..62fda30 100644
--- a/plugins/m3u/m3u.c
+++ b/plugins/m3u/m3u.c
@@ -26,6 +26,7 @@
 #endif
 #include <string.h>
 #include <stdlib.h>
+#include <limits.h>
 #include <math.h> // for ceil
 #if HAVE_SYS_SYSLIMITS_H
 #include <sys/syslimits.h>