buildroot/package/dvdrw-tools/0001-limits.h.patch

24 lines
708 B
Diff

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