]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
patch from Zero_Dogg to fix a compile problem on Mandriva Linux
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 9 Jun 2005 23:26:19 +0000 (23:26 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 9 Jun 2005 23:26:19 +0000 (23:26 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5418 d7cf8633-e32d-0410-b094-e92efae38249

cd_linux.c

index 05bf5c7e6d5a4a7a3b8219ff02698f7d9e2d70ae..6a64e4b590b37e4811767ccdcca8f86218cb1245 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>