wiki:xine-lib

Xine Libraries

In order to avoid de follow mistake:

_cdio_linux.c: In function 'eject_media_linux':
_cdio_linux.c:415: error: 'INT_MAX' undeclared (first use in this function)
_cdio_linux.c:415: error: (Each undeclared identifier is reported only once
_cdio_linux.c:415: error: for each function it appears in.)

Add the limits.h header:

--- a/src/input/vcd/libcdio/_cdio_linux.c Tue Oct 23 23:45:58 2007 +0100
+++ b/src/input/vcd/libcdio/_cdio_linux.c Fri Oct 26 22:44:11 2007 +0100
@@ -59,6 +59,7 @@ static const char _rcsid[] = "$Id: _cdio
 #include <unistd.h>
 #include <fcntl.h>
 #include <mntent.h>
+#include <limits.h>
 #include <linux/cdrom.h>
 #include <scsi/scsi.h>

Source Link

Up
Top

Last modified 14 years ago Last modified on 12/19/2007 02:04:34 AM
Note: See TracWiki for help on using the wiki.