Update of /cvsroot/alsa/alsa-driver/acore
In directory sc8-pr-cvs1:/tmp/cvs-serv10304
Modified Files:
memalloc.c memory_wrapper.c pci_compat_22.c sgbuf.c
Log Message:
fixed the build of snd-page-alloc.
now including config.h and adriver.h for the old kernels.
Index: memalloc.c
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/acore/memalloc.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- memalloc.c 28 Feb 2003 19:16:44 -0000 1.2
+++ memalloc.c 3 Mar 2003 11:30:42 -0000 1.3
@@ -1,4 +1,3 @@
-#include "config.h"
#include <linux/config.h>
#include <linux/version.h>
@@ -7,6 +6,9 @@
#include <linux/modversions.h>
#include "sndversions.h"
#endif
+
+#include "config.h"
+#include "adriver.h"
#include "../alsa-kernel/core/memalloc.c"
Index: memory_wrapper.c
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/acore/memory_wrapper.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- memory_wrapper.c 28 Feb 2003 19:16:44 -0000 1.2
+++ memory_wrapper.c 3 Mar 2003 11:30:42 -0000 1.3
@@ -8,6 +8,9 @@
#include "sndversions.h"
#endif
+#include "config.h"
+#include "adriver.h"
+
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 4, 0)
#include "../alsa-kernel/core/memory_wrapper.c"
#else
Index: pci_compat_22.c
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/acore/pci_compat_22.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- pci_compat_22.c 28 Feb 2003 14:32:10 -0000 1.1
+++ pci_compat_22.c 3 Mar 2003 11:30:42 -0000 1.2
@@ -2,13 +2,6 @@
* PCI-compatible layer for 2.2 kernels
*/
-#include <linux/config.h>
-#include <linux/version.h>
-#include <linux/pci.h>
-
-#include "adriver.h"
-#include <sound/memalloc.h>
-
static LIST_HEAD(pci_drivers);
struct pci_driver_mapping {
Index: sgbuf.c
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/acore/sgbuf.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sgbuf.c 28 Feb 2003 19:16:45 -0000 1.2
+++ sgbuf.c 3 Mar 2003 11:30:43 -0000 1.3
@@ -8,6 +8,9 @@
#include "sndversions.h"
#endif
+#include "config.h"
+#include "adriver.h"
+
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 5, 0)
#include "../alsa-kernel/core/sgbuf.c"
#else
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog