summaryrefslogtreecommitdiff
path: root/recipes/dvd+rw-tools/files/10-includes.dpatch
blob: 6c2899217062bcb374452213cdc75e3a133815dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh /usr/share/dpatch/dpatch-run
## 10-includes.dpatch by Daniel Schepler <schepler@math.unipd.it>
##
## DP: Add missing include in transport.hxx, fixes FTBFS with gcc-4.2 and
## DP: gcc-4.3 (Closes: #455276, #456551).

@DPATCH@

diff -Naurp dvd+rw-tools-7.1.orig/transport.hxx dvd+rw-tools-7.1/transport.hxx
--- dvd+rw-tools-7.1.orig/transport.hxx	2008-04-01 09:04:51.000000000 +0000
+++ dvd+rw-tools-7.1/transport.hxx	2008-04-01 09:23:09.000000000 +0000
@@ -16,6 +16,7 @@
 #include <fcntl.h>
 #include <poll.h>
 #include <sys/time.h>
+#include <limits.h>
 
 inline long getmsecs()
 { struct timeval tv;