summaryrefslogtreecommitdiff
blob: 545e98c076b67ecadc96573abe3335b780c1a611 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
http://bugs.gentoo.org/335511

--- cdrwtool/cdrwtool.c
+++ cdrwtool/cdrwtool.c
@@ -31,6 +31,7 @@
 #include <sys/ioctl.h>
 #include <asm/param.h>
 
+#include <limits.h> /* INT_MAX */
 #include <linux/cdrom.h>
 
 #include "cdrwtool.h"
--- pktsetup/pktsetup.c
+++ pktsetup/pktsetup.c
@@ -26,6 +26,7 @@
 #include <bits/types.h>
 #include <sys/types.h>
 
+#include <limits.h> /* INT_MAX */
 #include <linux/cdrom.h>
 
 /*