--- cdrwtool/cdrwtool.c.orig    2009-04-19 15:53:22.000000000 -0400
+++ cdrwtool/cdrwtool.c 2009-04-19 15:53:58.000000000 -0400
@@ -27,7 +27,7 @@
 #include <unistd.h>
 #include <getopt.h>
 #include <signal.h>
-
+#include <limits.h>
 #include <sys/ioctl.h>
 #include <asm/param.h>

--- pktsetup/pktsetup.c.orig    2009-04-19 15:53:35.000000000 -0400
+++ pktsetup/pktsetup.c 2009-04-19 15:54:17.000000000 -0400
@@ -29,6 +29,7 @@
 #include <sys/types.h>
 #include <dirent.h>
 #include <linux/cdrom.h>
+#include <limits.h>

 /*
  * if we don't have one, we probably have neither
