alsa-tools: Fix sys/io.h patch

I blew my #if expression!

(From OE-Core rev: b458309845185a3cd473daa0969ce17e2ff5c602)

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-04-08 13:34:20 -07:00 committed by Richard Purdie
parent e57284abca
commit 2dd134ad08
1 changed files with 4 additions and 1 deletions

View File

@ -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>