xref: /OK3568_Linux_fs/buildroot/package/dvdrw-tools/0001-limits.h.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1transport.hxx: add limits.h include now needed because of kernel changes
2
3Signed-off-by: Steve Kenton <skenton@ou.edu>
4
5diff -pruN dvd+rw-tools-7.1.ori/transport.hxx dvd+rw-tools-7.1/transport.hxx
6--- dvd+rw-tools-7.1.ori/transport.hxx	2008-03-01 04:34:43.000000000 -0600
7+++ dvd+rw-tools-7.1/transport.hxx	2015-01-18 15:47:24.245863631 -0600
8@@ -9,6 +9,7 @@
9 #if defined(__unix) || defined(__unix__)
10 #include <stdio.h>
11 #include <stdlib.h>
12+#include <limits.h>
13 #include <unistd.h>
14 #include <string.h>
15 #include <sys/types.h>
16@@ -40,6 +41,7 @@ inline long getmsecs()
17 #include <stddef.h>
18 #include <stdio.h>
19 #include <stdlib.h>
20+#include <limits.h>
21 #define ssize_t		LONG_PTR
22 #define off64_t		__int64
23
24