[Mplayer-cvslog] CVS: main/drivers/syncfb syncfb.h,1.1.1.1,1.2
Szabolcs Berecz
szabi at mplayer.dev.hu
Mon Nov 26 00:34:42 CET 2001
Update of /cvsroot/mplayer/main/drivers/syncfb
In directory mplayer:/var/tmp.root/cvs-serv28328/syncfb
Modified Files:
syncfb.h
Log Message:
use <linux/slab.h> instead of <linux/malloc.h> for kernels 2.4.9+
Index: syncfb.h
===================================================================
RCS file: /cvsroot/mplayer/main/drivers/syncfb/syncfb.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -r1.1.1.1 -r1.2
--- syncfb.h 24 Feb 2001 20:29:08 -0000 1.1.1.1
+++ syncfb.h 25 Nov 2001 23:34:40 -0000 1.2
@@ -10,7 +10,13 @@
#include <linux/mm.h>
#include <linux/string.h>
#include <linux/errno.h>
+
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,10)
#include <linux/malloc.h>
+#else
+#include <linux/slab.h>
+#endif
+
#include <linux/pci.h>
#include <linux/init.h>
#include <linux/videodev.h>
More information about the MPlayer-cvslog
mailing list