ccda8eeb72e36cf2b03cac4f5e5f1de391e6da79
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / dvdrw-tools / 0001-limits.h.patch
1 transport.hxx: add limits.h include now needed because of kernel changes
2
3 Signed-off-by: Steve Kenton <skenton@ou.edu>
4
5 diff -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