summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Henningsson <david.henningsson@canonical.com>2013-02-12 10:06:11 +0100
committerTakashi Iwai <tiwai@suse.de>2013-02-12 11:18:08 +0100
commit3e7dc283ed2d3ed2341f0657811c588f4dbcba6d (patch)
treef6a33efa0fa195c9b941053e26635eef69624475 /include
parent7f2b2c8c1650a1883b48abfcdb455138943854f9 (diff)
Add sys/types.h to include list
This is needed by snd_pcm_format_silence* functions which return u_int*_t. It was discovered while trying to compile ALSA programs with eglibc 2.17. Credits to Richard Shaw, Gary Buhrmaster, Matthieu Baerts and Adam Conrad for this fix. BugLink: https://bugs.launchpad.net/bugs/1109298 BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=885306 Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include')
-rw-r--r--include/asoundlib-head.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asoundlib-head.h b/include/asoundlib-head.h
index 20c8a68d..6edbab00 100644
--- a/include/asoundlib-head.h
+++ b/include/asoundlib-head.h
@@ -31,6 +31,7 @@
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
+#include <sys/types.h>
#include <string.h>
#include <fcntl.h>
#include <assert.h>