summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Spencer <maillist-alsa@barfooze.de>2013-10-10 18:56:22 +0200
committerTakashi Iwai <tiwai@suse.de>2013-10-11 09:29:05 +0200
commit10ecf963ca9ee7c491affadd4838ef8e35823d2c (patch)
treeba1ffef849c6639f7d9a69cc49b6f7f13416da98
parentc1fbd57c38dd565d3f87219031658f676654484f (diff)
downloadalsa-lib-10ecf963ca9ee7c491affadd4838ef8e35823d2c.tar.gz
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>
-rw-r--r--include/local.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/local.h b/include/local.h
index f0db188e..9464efa4 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>