File 0008-hda-verb-Don-t-include-sys-io.h-for-PPC.patch of Package alsa-tools
From aa795cb82726776bf9402c3171f784a9e3aba3bb Mon Sep 17 00:00:00 2001
From: Takashi Iwai <tiwai@suse.de>
Date: Tue, 31 Jul 2012 10:58:43 +0200
Subject: [PATCH] hda-verb: Don't include sys/io.h for PPC
Signed-off-by: Takashi Iwai <tiwai@suse.de>
---
hda-verb/hda-verb.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hda-verb/hda-verb.c b/hda-verb/hda-verb.c
index 2577ae0..bd746ad 100644
--- a/hda-verb/hda-verb.c
+++ b/hda-verb/hda-verb.c
@@ -13,7 +13,9 @@
#include <ctype.h>
#include <unistd.h>
#include <sys/ioctl.h>
+#ifndef __PPC__
#include <sys/io.h>
+#endif
#include <sys/types.h>
#include <sys/fcntl.h>
--
1.7.10.4