0001-include-limits.h.patch 1.0 KB

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