]> git.alsa-project.org Git - alsa-lib.git/commitdiff
local.h: include sys/types.h to fix issues with pcm.h
authorJohn Spencer <maillist-alsa@barfooze.de>
Thu, 10 Oct 2013 16:56:22 +0000 (18:56 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 11 Oct 2013 07:29:05 +0000 (09:29 +0200)
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

index f0db188ee5800924ba64cfa84b7bd428cdaaab25..9464efa496426a7b3f629ac8c9dd1d9fe9eda5d8 100644 (file)
@@ -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>