summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-multimedia/alsa/alsa-tools/mips_has_no_io_h.patch5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-multimedia/alsa/alsa-tools/mips_has_no_io_h.patch b/meta/recipes-multimedia/alsa/alsa-tools/mips_has_no_io_h.patch
index 7083cb2771..09b10f17e6 100644
--- a/meta/recipes-multimedia/alsa/alsa-tools/mips_has_no_io_h.patch
+++ b/meta/recipes-multimedia/alsa/alsa-tools/mips_has_no_io_h.patch
@@ -1,3 +1,6 @@
1Upstream-Status: Pending
2Signed-off-by: Saul Wold <sgw@linux.intel.com>
3
1Index: alsa-tools-1.0.26.1/hda-verb/hda-verb.c 4Index: alsa-tools-1.0.26.1/hda-verb/hda-verb.c
2=================================================================== 5===================================================================
3--- alsa-tools-1.0.26.1.orig/hda-verb/hda-verb.c 6--- alsa-tools-1.0.26.1.orig/hda-verb/hda-verb.c
@@ -7,7 +10,7 @@ Index: alsa-tools-1.0.26.1/hda-verb/hda-verb.c
7 #include <unistd.h> 10 #include <unistd.h>
8 #include <sys/ioctl.h> 11 #include <sys/ioctl.h>
9-#ifndef __PPC__ 12-#ifndef __PPC__
10+#if __PPC__ || __MIPS__ 13+#if !(__PPC__ || __mips__)
11 #include <sys/io.h> 14 #include <sys/io.h>
12 #endif 15 #endif
13 #include <sys/types.h> 16 #include <sys/types.h>