[PATCH] include limits.h in transport.hxx
Get the following error when trying to compile on Fedora 8 x86_64:
[cuppett@home dvd+rw-tools-7.1]$ make
make[1]: Entering directory `/home/cuppett/Desktop/dvd+rw-tools-7.1'
g++ -O2 -fno-exceptions -D_REENTRANT -c -o growisofs_mmc.o growisofs_mmc.cpp
transport.hxx: In member function 'int Scsi_Command::is_reload_needed(int)':
transport.hxx:366: error: 'INT_MAX' was not declared in this scope
make[1]: *** [growisofs_mmc.o] Error 1
make[1]: Leaving directory `/home/cuppett/Desktop/dvd+rw-tools-7.1'
make: *** [all] Error 2
Adding #include <limits.h> to transport.hxx corrects this.
--
Stephen Cuppett
http://www.cuppett.com
steve@cuppett.com
Reply to: