generic-poky/meta/recipes-multimedia/alsa/alsa-tools/mips_has_no_io_h.patch
Saul Wold 2dd134ad08 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>
2013-04-08 22:27:37 +01:00

17 lines
462 B
Diff

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