xref: /OK3568_Linux_fs/buildroot/package/rtmpdump/0001-include-limits.h.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1From b9d010d2c07e07eeffa510f14ff833ecb10dc0c8 Mon Sep 17 00:00:00 2001
2From: Bernd Kuhls <bernd.kuhls@t-online.de>
3Date: Mon, 24 Jun 2019 21:11:33 +0200
4Subject: [PATCH] include <limits.h>
5
6Needed after
7https://repo.or.cz/rtmpdump.git/commitdiff/c5f04a58fc2aeea6296ca7c44ee4734c18401aa3
8
9to fix
10
11rtmp.c: In function 'HTTP_read':
12rtmp.c:4459:26: error: 'INT_MAX' undeclared (first use in this function); did you mean 'INT8_MAX'?
13
14reported by buildroot autobuilders:
15http://autobuild.buildroot.net/?reason=rtmpdump-c5f04a58fc2aeea6296ca7c44ee4734c18401aa3
16
17Patch sent upstream by e-mail to author of
18https://repo.or.cz/rtmpdump.git/patch/c5f04a58fc2aeea6296ca7c44ee4734c18401aa3
19
20Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
21---
22 librtmp/rtmp.h | 1 +
23 1 file changed, 1 insertion(+)
24
25diff --git a/librtmp/rtmp.h b/librtmp/rtmp.h
26index 6d7dd89..48d4fc3 100644
27--- a/librtmp/rtmp.h
28+++ b/librtmp/rtmp.h
29@@ -32,6 +32,7 @@
30 #include <errno.h>
31 #include <stdint.h>
32 #include <stddef.h>
33+#include <limits.h>
34
35 #include "amf.h"
36
37--
382.20.1
39
40