[alsa-devel] [PATCH] local.h: include sys/types.h to fix issues with pcm.h
Takashi Iwai
tiwai at suse.de
Fri Oct 11 09:29:34 CEST 2013
At Thu, 10 Oct 2013 18:56:22 +0200,
John Spencer wrote:
>
> 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 at barfooze.de>
Thanks, applied now.
Takashi
> ---
> include/local.h | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/include/local.h b/include/local.h
> index f0db188..9464efa 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.7.3.4
>
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>
More information about the Alsa-devel
mailing list