0001-limits.h.patch 708 B

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