Stephen Gallagher 42b017
From 3e7dc283ed2d3ed2341f0657811c588f4dbcba6d Mon Sep 17 00:00:00 2001
Stephen Gallagher 42b017
From: David Henningsson <david.henningsson@canonical.com>
Stephen Gallagher 42b017
Date: Tue, 12 Feb 2013 10:06:11 +0100
Stephen Gallagher 42b017
Subject: [PATCH] Add sys/types.h to include list
Stephen Gallagher 42b017
Stephen Gallagher 42b017
This is needed by snd_pcm_format_silence* functions which
Stephen Gallagher 42b017
return u_int*_t. It was discovered while trying to compile ALSA
Stephen Gallagher 42b017
programs with eglibc 2.17.
Stephen Gallagher 42b017
Stephen Gallagher 42b017
Credits to Richard Shaw, Gary Buhrmaster, Matthieu Baerts and
Stephen Gallagher 42b017
 Adam Conrad for this fix.
Stephen Gallagher 42b017
Stephen Gallagher 42b017
BugLink: https://bugs.launchpad.net/bugs/1109298
Stephen Gallagher 42b017
BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=885306
Stephen Gallagher 42b017
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Stephen Gallagher 42b017
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Stephen Gallagher 42b017
---
Stephen Gallagher 42b017
 include/asoundlib-head.h | 1 +
Stephen Gallagher 42b017
 1 file changed, 1 insertion(+)
Stephen Gallagher 42b017
Stephen Gallagher 42b017
diff --git a/include/asoundlib-head.h b/include/asoundlib-head.h
Stephen Gallagher 42b017
index 20c8a68..6edbab0 100644
Stephen Gallagher 42b017
--- a/include/asoundlib-head.h
Stephen Gallagher 42b017
+++ b/include/asoundlib-head.h
Stephen Gallagher 42b017
@@ -31,6 +31,7 @@
Stephen Gallagher 42b017
 #include <unistd.h>
Stephen Gallagher 42b017
 #include <stdio.h>
Stephen Gallagher 42b017
 #include <stdlib.h>
Stephen Gallagher 42b017
+#include <sys/types.h>
Stephen Gallagher 42b017
 #include <string.h>
Stephen Gallagher 42b017
 #include <fcntl.h>
Stephen Gallagher 42b017
 #include <assert.h>
Stephen Gallagher 42b017
-- 
Stephen Gallagher 42b017
1.7.11.4
Stephen Gallagher 42b017