File 0011-local.h-include-sys-types.h-to-fix-issues-with-pcm.h.patch of Package alsa.3768

From 10ecf963ca9ee7c491affadd4838ef8e35823d2c Mon Sep 17 00:00:00 2001
From: John Spencer <maillist-alsa@barfooze.de>
Date: Thu, 10 Oct 2013 18:56:22 +0200
Subject: [PATCH] local.h: include sys/types.h to fix issues with pcm.h

sys/types.h is required for the u_int_XX types used by pcm.h.
since a change in pcm.h is not desired, we add the inclusion
to the header that includes pcm.h during build.

Signed-off-by: John Spencer <maillist-alsa@barfooze.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
---
 include/local.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/local.h b/include/local.h
index f0db188ee580..9464efa49642 100644
--- a/include/local.h
+++ b/include/local.h
@@ -31,6 +31,7 @@
 #include <endian.h>
 #include <stdarg.h>
 #include <sys/poll.h>
+#include <sys/types.h>
 #include <errno.h>
 #include <linux/types.h>
 #include <linux/ioctl.h>
-- 
1.8.4.3

openSUSE Build Service is sponsored by