diff options
-rw-r--r-- | meta/recipes-multimedia/alsa/alsa-tools/mips_has_no_io_h.patch | 5 |
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 @@ +Upstream-Status: Pending +Signed-off-by: Saul Wold <sgw@linux.intel.com> + Index: alsa-tools-1.0.26.1/hda-verb/hda-verb.c =================================================================== --- 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 #include <unistd.h> #include <sys/ioctl.h> -#ifndef __PPC__ -+#if __PPC__ || __MIPS__ ++#if !(__PPC__ || __mips__) #include <sys/io.h> #endif #include <sys/types.h> |