diff -rup smartmontools-5.37/os_linux.cpp smartmontools-devel/os_linux.cpp --- smartmontools-5.37/os_linux.cpp 2006-10-25 19:01:42.000000000 +0200 +++ smartmontools-devel/os_linux.cpp 2008-01-17 15:49:31.000000000 +0100 @@ -109,6 +109,10 @@ typedef struct _ReportLUNdata_struct } ReportLunData_struct; /* Structure/defines of Report Physical LUNS of drive */ +#ifdef CISS_MAX_LUN +#undef CISS_MAX_LUN +#endif + #define CISS_MAX_LUN 16 #define CISS_MAX_PHYS_LUN 1024 #define CISS_REPORT_PHYS 0xc3