generic-poky/meta/recipes-multimedia/alsa/alsa-tools/mips_has_no_io_h.patch

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>