]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cd_linux.c
made zym and dpm model loaders warn and ignore the model if it is missing geometry...
[xonotic/darkplaces.git] / cd_linux.c
index 05bf5c7e6d5a4a7a3b8219ff02698f7d9e2d70ae..b0e4fb0093d26a46a67d08dab4f783522bcb52b6 100644 (file)
@@ -20,6 +20,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 // Quake is a trademark of Id Software, Inc., (c) 1996 Id Software, Inc. All
 // rights reserved.
 
+// suggested by Zero_Dogg to fix a compile problem on Mandriva Linux
+#define __KERNEL_STRICT_NAMES
+
 #include <linux/cdrom.h>
 #include <sys/ioctl.h>
 
@@ -110,7 +113,7 @@ void CDAudio_SysSetVolume (float volume)
 }
 
 
-int CDAudio_SysPlay (qbyte track)
+int CDAudio_SysPlay (unsigned char track)
 {
        struct cdrom_tocentry entry;
        struct cdrom_ti ti;