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