[alsa-devel] alsa-lib 1.0.27 incorrect definition of __kernel_off_t?

Kevin Groeneveld kgroeneveld at gmail.com
Tue Jul 23 16:58:24 CEST 2013

On Tue, Jul 23, 2013 at 8:55 AM, Jaroslav Kysela <perex at perex.cz> wrote:

> I tried to fix this issue using <linux/types.h>. Please, check:
> http://git.alsa-project.org/?p=alsa-lib.git;a=commitdiff;h=b3b53a1bec47aaa2baef724cc9e79adadd603caf
Yes, that patch fixes the compile error I was getting.  Thanks for looking
into this.

You don't actually need to include <linux/types.h> in local.h.  local.h
includes asound.h which already includes <linux/types.h>.  This is how I
just got away with deleting the #define __kernel_off_t line.


More information about the Alsa-devel mailing list