summaryrefslogtreecommitdiff
blob: 74dddf9e012c58fb07b583fc21c4ec77a47b0706 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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,8 @@
 #include <bits/types.h>
 #include <sys/types.h>
 
+#include <limits.h> /* INT_MAX */
+#include <stdlib.h> /* system */
 #include <linux/cdrom.h>
 
 /*