1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-02 01:19:52 +00:00

alsa-tools: add patch for mips since it does not have io.h

[YOCTO #4051]

(From OE-Core rev: 67f1083a10f7435aeb861ba2e872d6498375d927)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Saul Wold
2013-03-20 10:21:27 -07:00
committed by Richard Purdie
parent e7f7fcb831
commit ecb30a910b
2 changed files with 14 additions and 0 deletions
@@ -0,0 +1,13 @@
Index: alsa-tools-1.0.26.1/hda-verb/hda-verb.c
===================================================================
--- alsa-tools-1.0.26.1.orig/hda-verb/hda-verb.c
+++ alsa-tools-1.0.26.1/hda-verb/hda-verb.c
@@ -13,7 +13,7 @@
#include <ctype.h>
#include <unistd.h>
#include <sys/ioctl.h>
-#ifndef __PPC__
+#if __PPC__ || __MIPS__
#include <sys/io.h>
#endif
#include <sys/types.h>