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